VRay SDK for C#
|
This class groups methods related to management of render elements in the scene More...
Public Types | |
enum | RGBOrder |
Specifies the RGB order of the data returned by render elements' data APIs. | |
Public Member Functions | |
RenderElement | Add (RenderElementType type, string instanceName, string displayName) |
Attempts to create a new render element. More... | |
RenderElement | Get (RenderElementType type) |
Returns the first render element of the specified type. More... | |
IEnumerable< RenderElement > | GetAll (RenderElementType type) |
Returns all render elements of the specified type. If type is NONE, all render elements of all types will be returned. More... | |
This class groups methods related to management of render elements in the scene
RenderElement VRay.RenderElements.Add | ( | RenderElementType | type, |
string | instanceName, | ||
string | displayName | ||
) |
Attempts to create a new render element.
type | The type of render element. Some types allow more than one instance. |
instanceName | An optional name to show in the VFB. If null, a default name will be used. |
displayName | An optional name for the plugin instance that will be created. |
RenderElement VRay.RenderElements.Get | ( | RenderElementType | type | ) |
Returns the first render element of the specified type.
type | Render element type |
IEnumerable< RenderElement > VRay.RenderElements.GetAll | ( | RenderElementType | type | ) |
Returns all render elements of the specified type. If type is NONE, all render elements of all types will be returned.
type | Render element type. Use NONE to get any type of render element |