VRay SDK for C#
|
A group of methods for reading data and creating V-Ray geometry proxies. More...
Classes | |
class | AnimatedTransform |
Used in Proxy.CreateMeshFile() and Proxy.CreateCombinedMeshFile() More... | |
class | AnimatedTransformDataInternal |
class | AnimatedTransformDataSerializer |
struct | Box |
Axis-aligned bounding box More... | |
class | GeomMeshData_Internal |
class | GeomMeshDataSerializer |
class | MeshFileData |
A container for the data necessary to a export vrmesh with geometry, hair or particles. Used by Proxy.CreateMeshFile() More... | |
class | MeshFileDataParser |
class | ProxyReadParamsSerializer |
class | ReadData |
A holder for the data returned by the ReadFullData() method. More... | |
class | ReadDataFlags |
Flags defining which parts of the proxy data to read. More... | |
class | ReadDataInternal |
class | ReadParams |
The necessary parameters for reading data in a proxy file. More... | |
class | ReadParamsInternal |
struct | VerticesAndIndices |
Contains the result of ReadPreviewGeometry method. More... | |
struct | VerticesAndLengths |
Contains the result of ReadPreviewHair method. More... | |
Static Public Member Functions | |
static bool | CreateCombinedMeshFile (IList< MeshFileData > data, IList< AnimatedTransform > animTransforms, ProxyCreateParams parameters) |
static bool | CreateCombinedMeshFile (IList< MeshFileData > data, IList< Transform > transforms, ProxyCreateParams parameters) |
static bool | CreateCombinedMeshFile (IList< Plugin > geomMeshPlugins, IList< AnimatedTransform > animTransforms, ProxyCreateParams parameters) |
static bool | CreateCombinedMeshFile (IList< Plugin > geomMeshPlugins, IList< Transform > transforms, ProxyCreateParams parameters) |
static bool | CreateMeshFile (MeshFileData data, AnimatedTransform animTransform, ProxyCreateParams parameters) |
static bool | CreateMeshFile (MeshFileData data, Transform transform, ProxyCreateParams parameters) |
static bool | CreateMeshFile (Plugin geomMeshPlugin, AnimatedTransform animTransform, ProxyCreateParams parameters) |
static bool | CreateMeshFile (Plugin geomMeshPlugin, Transform transform, ProxyCreateParams parameters) |
static ReadData | ReadFullData (Plugin geomStaticMeshPlugin, ReadDataFlags flags=null) |
Returns the full proxy data or parts of it referenced by the given plugin. More... | |
static ReadData | ReadFullData (ReadParams readParams, ReadDataFlags flags=null) |
Returns the full proxy data or parts of it referenced by the given params. More... | |
static ReadData | ReadPreviewData (Plugin geomStaticMeshPlugin, ReadDataFlags flags=null) |
Returns the preview proxy data or parts of it referenced by the given plugin. More... | |
static ReadData | ReadPreviewData (ReadParams readParams, ReadDataFlags flags=null) |
Returns the preview proxy data or parts of it referenced by the given params. More... | |
static VerticesAndIndices | ReadPreviewGeometry (Plugin proxyPlugin, int countHint=0) |
Returns proxy preview geometry data contained in the given plugin. More... | |
static VerticesAndIndices | ReadPreviewGeometry (ReadParams readParams, int countHint=0) |
Returns proxy preview geometry data referenced by the given params. More... | |
static VerticesAndLengths | ReadPreviewHair (Plugin proxyPlugin, int countHint=0) |
Returns proxy preview hair data contained in the given plugin. More... | |
static VerticesAndLengths | ReadPreviewHair (ReadParams readParams, int countHint=0) |
Returns proxy preview hair data referenced by the given params. More... | |
static IList< Vector > | ReadPreviewParticles (Plugin proxyPlugin, int countHint=0) |
static IList< Vector > | ReadPreviewParticles (ReadParams readParams, int countHint=0) |
A group of methods for reading data and creating V-Ray geometry proxies.
|
static |
data | An array of MeshFileData instances to combine in the proxy file as one mesh |
animTransforms | Array of objects containing transformations at corresponding keyframes, to be written to the created file. The size must equal the mesh array size |
parameters | A ProxyCreateParams container for the various parameters, including file name |
|
static |
data | An array of MeshFileData instances to combine in the proxy file as one mesh |
transforms | Transformations for the separate input meshes to bake into the final mesh. Size must equal the mesh array size. Pass null to skip. |
parameters | A ProxyCreateParams container for the various parameters, including file name |
|
static |
Creates a.vrmesh file from data stored in multiple plugins. The plugin types for geomMeshPlugins could be:
geomMeshPlugins | An array of plugins supplying the data to combine in the proxy file - see supported plugin types above |
animTransforms | Array of objects containing transformations at corresponding keyframes, to be written to the created file. The size must equal the mesh array size |
parameters | A ProxyCreateParams container for the various parameters, including file name |
|
static |
Creates a.vrmesh file from data stored in multiple plugins. The plugin types for geomMeshPlugins could be:
geomMeshPlugins | An array of plugins supplying the data to combine in the proxy file - see supported plugin types above |
transforms | Transformations for the separate input meshes to bake into the final mesh. Size must equal the mesh array size. Pass null to skip. |
parameters | A ProxyCreateParams container for the various parameters, including file name |
|
static |
data | A container for the data necessary to a export vrmesh with geometry, hair or particles. |
animTransform | An object containing transformations at corresponding keyframes, to be written to the created file |
parameters | A ProxyCreateParams container for the various parameters, including file name |
|
static |
data | A container for the data necessary to a export vrmesh with geometry, hair or particles. |
transform | A transformation to bake into the geometry data. Pass null to skip. |
parameters | A ProxyCreateParams container for the various parameters, including file name |
|
static |
Creates a.vrmesh file from data stored in a plugin. The plugin types for geomMeshPlugin could be:
geomMeshPlugin | A plugin supplying the data for the proxy file - see supported plugin types above |
animTransform | An object containing transformations at corresponding keyframes, to be written to the created file |
parameters | A ProxyCreateParams container for the various parameters, including file name |
|
static |
Creates a.vrmesh file from data stored in a plugin. The plugin types for geomMeshPlugin could be:
geomMeshPlugin | A plugin supplying the data for the proxy file - see supported plugin types above |
transform | A transformation to bake into the geometry data. Pass null to skip. |
parameters | A ProxyCreateParams container for the various parameters, including file name |
|
static |
Returns the full proxy data or parts of it referenced by the given plugin.
geomStaticMeshPlugin | A GeomMeshFile plugin instance to read the file path and parameters from. |
flags | Flags defining which parts of the data to read. |
|
static |
Returns the full proxy data or parts of it referenced by the given params.
readParams | A struct to read the file path and parameters from. |
flags | Flags defining which parts of the data to read. |
|
static |
Returns the preview proxy data or parts of it referenced by the given plugin.
geomStaticMeshPlugin | A GeomMeshFile plugin instance to read the file path and parameters from. |
flags | Flags defining which parts of the data to read. |
|
static |
Returns the preview proxy data or parts of it referenced by the given params.
readParams | A struct to read the file path and parameters from. |
flags | Flags defining which parts of the data to read. |
|
static |
Returns proxy preview geometry data contained in the given plugin.
proxyPlugin | A GeomMeshFile plugin instance to read the file path and parameters from. |
countHint | The number of triangles to return. The exact number of elements in 'vertices' may differ slightly. If countHint is 0, proxyPlugin.num_preview_faces is used. |
|
static |
Returns proxy preview geometry data referenced by the given params.
readParams | A struct to read the file path and parameters from. |
countHint | The number of triangles to return. The exact number of elements in 'vertices' may differ slightly. If countHint is 0, readParams.num_preview_faces is used. |
|
static |
Returns proxy preview hair data contained in the given plugin.
proxyPlugin | A GeomMeshFile plugin instance to read the file path and parameters from. |
countHint | The number of hair strands to return. The exact number of elements in 'lengths' may differ slightly. If countHint is 0, proxyPlugin::num_preview_faces is used. |
|
static |
Returns proxy preview hair data referenced by the given params.
readParams | A struct to read the file path and parameters from. |
countHint | The number of hair strands to return. The exact number of elements in 'lengths' may differ slightly. If countHint is 0, proxyPlugin::num_preview_faces is used. |
|
static |
Returns particle preview data contained in the given plugin.
proxyPlugin | A GeomMeshFile plugin instance to read the file path and parameters from. |
countHint | An optional number of particles to return. The exact number of elements in 'positions' may differ slightly. If countHint is 0, proxyPlugin::num_preview_faces is used. |
|
static |
Returns particle preview data referenced by the given params.
readParams | A struct to read the file path and parameters from. |
countHint | An optional number of particles to return. The exact number of elements in 'positions' may differ slightly. If countHint is 0, proxyPlugin::num_preview_faces is used. |