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

Classes

class  ProxyCreateParamsSerializer
 

Public Types

enum  PreviewTypes
 

Public Attributes

int AnimOn
 Enables saving multiple animated frames in the proxy
 
int BakeTransforms
 When enabled (default), applies the input Transform(s) to the geometry data, otherwise writes the Transform(s) into separate data channel
 
string CustomPreviewFile
 file name to read and use its vertices and faces for the preview voxel
 
string Destination
 vrmesh file name
 
int ElementsPerVoxel
 Approximate number of triangles per voxel to aim for
 
int EndFrame
 Last frame if AnimOn=true
 
int ExportPointCloud
 When enabled, adds a point cloud representation of the mesh separated into different levels of detail. The various levels of detail can be used by proxies for saving memory when rendering distant objects.
 
int MergeVoxels
 Merge all voxels of the same type, before subdivision.
 
int[] ObjectIDs
 Array of unique IDs for the respective meshes. This should usually match Node.objectID values.
 
string[] ObjectNames
 Array of names to associate with respective meshes. This can be used to identify the pieces when reading the proxy.
 
float PointSize
 Determines the size of point cloud disks at the most detailed level. If this value is small, point clouds rendered at the lowest level appear closer to original mesh but use more memory.
 
int PreviewFaces
 Approximate number of preview triangles. Default 10000. Set to 0 to disable preview.
 
int PreviewHairs
 Number of preview hairs (default 1000)
 
int PreviewParticles
 Number of preview particles (default 20000)
 
PreviewTypes PreviewType
 See enum PreviewTypes
 
int StartFrame
 First frame if AnimOn=true
 
int[] VoxelInfoFlipNormals
 Array of flipNormals flags (1 flag per mesh object - true if the geometric normals should be flipped)
 
int[] VoxelInfoSmoothed
 Array of smoothed flags (1 flag per mesh object - true if the voxel should be rendered with smoothed normals)
 
Color[] VoxelInfoWireColor
 Array of diffuse (wire) colors - 1 Color per mesh object
 

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