VRay SDK for C#
Loading...
Searching...
No Matches
VRay.VRMat Class Reference

Classes

struct  Meta
 Strucure to be used with calls to getMeta() or setMeta() More...
 
class  StructuredVRMat
 

Public Types

enum  HierarchyFlags
 Flags controlling generation of hiearchical plugin names StructuredVRMat.GenerateHierarchicalNames
 
enum  MetaCategories
 Meta categories used to specify the mask of More...
 

Public Member Functions

 VRMat (string fileName)
 Creates a vrmat object operating on the given file. More...
 
byte[] GetDecodedThumbnail (string materialName)
 Returns a png as a byte array More...
 
string GetEncodedThumbnail (string materialName)
 Returns a png as a base64 encoded string More...
 
string[] GetMaterialList ()
 Returns an array of material names.
 

Properties

static string PluginLibraryPath [get, set]
 Warning: Setting PluginLibraryPath will reload the vrmat plugin and will affect all already existing VRmat instances.
 

Member Enumeration Documentation

◆ MetaCategories

Meta categories used to specify the mask of

Meta.mask

Constructor & Destructor Documentation

◆ VRMat()

VRay.VRMat.VRMat ( string  fileName)

Creates a vrmat object operating on the given file.

Parameters
fileNameThe .vrmat file to use.

Member Function Documentation

◆ GetDecodedThumbnail()

byte[] VRay.VRMat.GetDecodedThumbnail ( string  materialName)

Returns a png as a byte array

Parameters
materialNameThe material name as returned by GetMaterialList().

◆ GetEncodedThumbnail()

string VRay.VRMat.GetEncodedThumbnail ( string  materialName)

Returns a png as a base64 encoded string

Parameters
materialNameThe material name as returned by GetMaterialList().

The documentation for this class was generated from the following file: