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

Top-level geometry plugin. Places a geometric object in the scene and associates it with a material More...

Inherits VRay.Plugins.Plugin, VRay.Plugins.IPluginRef< Node >, and VRay.Plugins.IGeometryPluginCategory.

Public Member Functions

string Get_BakeSubdivFilepath (double time)
 Gets the value of Node.BakeSubdivFilepath More...
 
IPluginRef Get_Geometry (double time)
 Gets the value of Node.Geometry More...
 
int Get_IsInstancePrototype (double time)
 Gets the value of Node.IsInstancePrototype More...
 
IList< object > Get_Lights (double time)
 Gets the value of Node.Lights More...
 
IPluginRef Get_MapChannels (double time)
 Gets the value of Node.MapChannels More...
 
IPluginRef Get_Material (double time)
 Gets the value of Node.Material More...
 
int Get_Nsamples (double time)
 Gets the value of Node.Nsamples More...
 
int Get_ObjectID (double time)
 Gets the value of Node.ObjectID More...
 
IPluginRef Get_ObjectProperties (double time)
 Gets the value of Node.ObjectProperties More...
 
int Get_ObjectSpaceDisplacement (double time)
 Gets the value of Node.ObjectSpaceDisplacement More...
 
Vector Get_PivotOffset (double time)
 Gets the value of Node.PivotOffset More...
 
bool Get_PrimaryVisibility (double time)
 Gets the value of Node.PrimaryVisibility More...
 
IList< string > Get_SceneName (double time)
 Gets the value of Node.SceneName More...
 
float Get_TimeForGeometry (double time)
 Gets the value of Node.TimeForGeometry More...
 
Transform Get_Transform (double time)
 Gets the value of Node.Transform More...
 
string Get_UserAttributes (double time)
 Gets the value of Node.UserAttributes More...
 
IList< int > Get_UserAttributesBin (double time)
 Gets the value of Node.UserAttributesBin More...
 
bool Get_UseTimeForGeometry (double time)
 Gets the value of Node.UseTimeForGeometry More...
 
bool Get_Visible (double time)
 Gets the value of Node.Visible More...
 
IPluginRef Get_Volume (double time)
 Gets the value of Node.Volume More...
 
bool Set_BakeSubdivFilepath (string val, double time)
 Sets a value to Node.BakeSubdivFilepath More...
 
bool Set_Geometry (IPluginRef val, double time)
 Sets a value to Node.Geometry More...
 
bool Set_IsInstancePrototype (int val, double time)
 Sets a value to Node.IsInstancePrototype More...
 
bool Set_Lights (IList< object > val, double time)
 Sets a value to Node.Lights More...
 
bool Set_MapChannels (IPluginRef val, double time)
 Sets a value to Node.MapChannels More...
 
bool Set_Material (IPluginRef val, double time)
 Sets a value to Node.Material More...
 
bool Set_Nsamples (int val, double time)
 Sets a value to Node.Nsamples More...
 
bool Set_ObjectID (int val, double time)
 Sets a value to Node.ObjectID More...
 
bool Set_ObjectProperties (IPluginRef val, double time)
 Sets a value to Node.ObjectProperties More...
 
bool Set_ObjectSpaceDisplacement (int val, double time)
 Sets a value to Node.ObjectSpaceDisplacement More...
 
bool Set_PivotOffset (Vector val, double time)
 Sets a value to Node.PivotOffset More...
 
bool Set_PrimaryVisibility (bool val, double time)
 Sets a value to Node.PrimaryVisibility More...
 
bool Set_SceneName (IList< string > val, double time)
 Sets a value to Node.SceneName More...
 
bool Set_TimeForGeometry (float val, double time)
 Sets a value to Node.TimeForGeometry More...
 
bool Set_Transform (Transform val, double time)
 Sets a value to Node.Transform More...
 
bool Set_UserAttributes (string val, double time)
 Sets a value to Node.UserAttributes More...
 
bool Set_UserAttributesBin (IList< int > val, double time)
 Sets a value to Node.UserAttributesBin More...
 
bool Set_UseTimeForGeometry (bool val, double time)
 Sets a value to Node.UseTimeForGeometry More...
 
bool Set_Visible (bool val, double time)
 Sets a value to Node.Visible More...
 
bool Set_Volume (IPluginRef val, double time)
 Sets a value to Node.Volume More...
 
- Public Member Functions inherited from VRay.Plugins.Plugin
PluginCategories GetCategories ()
 Gets all the plugin categories this plugin belongs to, such as being a Light or a Material, etc.
 
long GetIntegerID ()
 Returns the ID of the plugin instance. The ID is unique per scene contained in a VRayRenderer instance. Can be used as a hash value.
 
double[] GetKeyframeTimes (string propertyName)
 Return an array of keyframe times if the property contains animated values or an empty array if the property is not animated. More...
 
PluginMeta GetMeta ()
 Gets a plugin meta object.
 
string GetName ()
 Gets the name of the plugin.
 
PropertyRuntimeMeta GetPropertyRuntimeMeta (string propertyName)
 Gets an object with runtime meta information about the property. More...
 
VRayRenderer GetRenderer ()
 Gets a reference to the renderer which created the plugin.
 
string Gettype ()
 Gets the type of the plugin. More...
 
object GetValue (string propertyName)
 Gets the value of the specified property as a generic object. More...
 
object GetValue (string propertyName, double time)
 Gets the value of the specified property as a generic object. More...
 
AColor GetValueAsAColor (string propertyName)
 Gets the value of the specified property if it is of type AColor. Otherwise an exception is thrown. More...
 
AColor GetValueAsAColor (string propertyName, double time)
 Gets the value of the specified property if it is of type AColor. Otherwise an exception is thrown. More...
 
bool GetValueAsBool (string propertyName)
 Gets the value of the specified property if it is of type bool. Otherwise an exception is thrown. More...
 
bool GetValueAsBool (string propertyName, double time)
 Gets the value of the specified property if it is of type bool. Otherwise an exception is thrown. More...
 
Color GetValueAsColor (string propertyName)
 Gets the value of the specified property if it is of type Color. Otherwise an exception is thrown. More...
 
Color GetValueAsColor (string propertyName, double time)
 Gets the value of the specified property if it is of type Color. Otherwise an exception is thrown. More...
 
double GetValueAsDouble (string propertyName)
 Gets the value of the specified property if it is of type double. Otherwise an exception is thrown. More...
 
double GetValueAsDouble (string propertyName, double time)
 Gets the value of the specified property if it is of type double. Otherwise an exception is thrown. More...
 
float GetValueAsFloat (string propertyName)
 Gets the value of the specified property if it is of type float. Otherwise an exception is thrown. More...
 
float GetValueAsFloat (string propertyName, double time)
 Gets the value of the specified property if it is of type float. Otherwise an exception is thrown. More...
 
int GetValueAsInt (string propertyName)
 Gets the value of the specified property if it is of type int. Otherwise an exception is thrown. More...
 
int GetValueAsInt (string propertyName, double time)
 Gets the value of the specified property if it is of type int. Otherwise an exception is thrown. More...
 
IList GetValueAsList (string propertyName)
 Gets the value of the specified property if it is a list. (This simply casts the result of GetValue() to IList. More...
 
IList GetValueAsList (string propertyName, double time)
 Gets the value of the specified property if it is a list. (This simply casts the result of GetValue() to IList. More...
 
IList< T > GetValueAsList< T > (string propertyName)
 Gets the value of the specified property if it is of a list type. More...
 
IList< T > GetValueAsList< T > (string propertyName, double time)
 Gets the value of the specified property if it is of a list type. More...
 
Matrix GetValueAsMatrix (string propertyName)
 Gets the value of the specified property if it is of type Matrix. Otherwise an exception is thrown. More...
 
Matrix GetValueAsMatrix (string propertyName, double time)
 Gets the value of the specified property if it is of type Matrix. Otherwise an exception is thrown. More...
 
IPluginRef GetValueAsPluginRef (string propertyName)
 Gets the value of the specified property if it is of type Plugin/PluginRef. More...
 
IPluginRef GetValueAsPluginRef (string propertyName, double time)
 Gets the value of the specified property if it is of type Plugin/PluginRef. More...
 
string GetValueAsString (string propertyName)
 Gets the string representation of the specified plugin property value. More...
 
string GetValueAsString (string propertyName, double time)
 Gets the string representation of the specified plugin property value. More...
 
Transform GetValueAsTransform (string propertyName)
 Gets the value of the specified property if it is of type Transform. Otherwise an exception is thrown. More...
 
Transform GetValueAsTransform (string propertyName, double time)
 Gets the value of the specified property if it is of type Transform. Otherwise an exception is thrown. More...
 
Vector GetValueAsVector (string propertyName)
 Gets the value of the specified property if it is of type Vector. Otherwise an exception is thrown. More...
 
Vector GetValueAsVector (string propertyName, double time)
 Gets the value of the specified property if it is of type Vector. Otherwise an exception is thrown. More...
 
bool IsPropertyAnimated (string propertyName)
 Returns whether the current value of the property is animated or not. More...
 
bool IsValid ()
 Check whether this object contains a valid reference to a V-Ray plugin instance. (The reference may become invalid if the actual plugin it refers to has been deleted.) More...
 
bool SetName (string newName)
 Sets a new name of the plugin. More...
 
bool SetValue (string propertyName, AColor value)
 Sets the value of the specified property as AColor. More...
 
bool SetValue (string propertyName, AColor value, double time)
 Sets the value of the specified property as AColor. More...
 
bool SetValue (string propertyName, bool value)
 Sets the value of the specified property as bool. More...
 
bool SetValue (string propertyName, bool value, double time)
 Sets the value of the specified property as bool. More...
 
bool SetValue (string propertyName, Color value)
 Sets the value of the specified property as Color. More...
 
bool SetValue (string propertyName, Color value, double time)
 Sets the value of the specified property as Color. More...
 
bool SetValue (string propertyName, Color[] value)
 Sets the value of the specified property as an array of Colors. More...
 
bool SetValue (string propertyName, Color[] value, double time)
 Sets the value of the specified property as an array of Colors. More...
 
bool SetValue (string propertyName, Color[] value, int startIndex, int size)
 Sets the value of the specified property as a slice of a Color array. More...
 
bool SetValue (string propertyName, Color[] value, int startIndex, int size, double time)
 Sets the value of the specified property as a slice of a Color array. More...
 
bool SetValue (string propertyName, double value)
 Sets the value of the specified property as double. More...
 
bool SetValue (string propertyName, double value, double time)
 Sets the value of the specified property as double. More...
 
bool SetValue (string propertyName, double[] value)
 Sets the value of the specified property as an array of doubles. More...
 
bool SetValue (string propertyName, double[] value, double time)
 Sets the value of the specified property as an array of doubles. More...
 
bool SetValue (string propertyName, double[] value, int startIndex, int size)
 Sets the value of the specified property as a slice of a double array. More...
 
bool SetValue (string propertyName, double[] value, int startIndex, int size, double time)
 Sets the value of the specified property as a slice of a double array. More...
 
bool SetValue (string propertyName, float value)
 Sets the value of the specified property as float. More...
 
bool SetValue (string propertyName, float value, double time)
 Sets the value of the specified property as float. More...
 
bool SetValue (string propertyName, float[] value)
 Sets the value of the specified property as an array of floats. More...
 
bool SetValue (string propertyName, float[] value, double time)
 Sets the value of the specified property as an array of floats. More...
 
bool SetValue (string propertyName, float[] value, int startIndex, int size)
 Sets the value of the specified property as a slice of a float array. More...
 
bool SetValue (string propertyName, float[] value, int startIndex, int size, double time)
 Sets the value of the specified property as a slice of a float array. More...
 
bool SetValue (string propertyName, IList< Color > value)
 Sets the value of the specified property as a list of Colors. More...
 
bool SetValue (string propertyName, IList< Color > value, double time)
 Sets the value of the specified property as a list of Colors. More...
 
bool SetValue (string propertyName, IList< double > value)
 Sets the value of the specified property as alist of doubles. More...
 
bool SetValue (string propertyName, IList< double > value, double time)
 Sets the value of the specified property as alist of doubles. More...
 
bool SetValue (string propertyName, IList< float > value)
 Sets the value of the specified property as a list of floats. More...
 
bool SetValue (string propertyName, IList< float > value, double time)
 Sets the value of the specified property as a list of floats. More...
 
bool SetValue (string propertyName, IList< int > value)
 Sets the value of the specified property as a list of ints. More...
 
bool SetValue (string propertyName, IList< int > value, double time)
 Sets the value of the specified property as a list of ints. More...
 
bool SetValue (string propertyName, IList< Vector > value)
 Sets the value of the specified property as a list of Vectors. More...
 
bool SetValue (string propertyName, IList< Vector > value, double time)
 Sets the value of the specified property as a list of Vectors. More...
 
bool SetValue (string propertyName, int value)
 Sets the value of the specified property as int. More...
 
bool SetValue (string propertyName, int value, double time)
 Sets the value of the specified property as int. More...
 
bool SetValue (string propertyName, int[] value)
 Sets the value of the specified property as an array of ints. More...
 
bool SetValue (string propertyName, int[] value, double time)
 Sets the value of the specified property as an array of ints. More...
 
bool SetValue (string propertyName, int[] value, int startIndex, int size)
 Sets the value of the specified property as a slice of an int array. More...
 
bool SetValue (string propertyName, int[] value, int startIndex, int size, double time)
 Sets the value of the specified property as a slice of an int array. More...
 
bool SetValue (string propertyName, IPluginRef value)
 Sets the value of the specified property as Plugin or Plugin's output parameter. More...
 
bool SetValue (string propertyName, IPluginRef value, double time)
 Sets the value of the specified property as Plugin or Plugin's output parameter. More...
 
bool SetValue (string propertyName, Matrix value)
 Sets the value of the specified property as Matrix. More...
 
bool SetValue (string propertyName, Matrix value, double time)
 Sets the value of the specified property as Matrix. More...
 
bool SetValue (string propertyName, object value)
 Sets the value of the specified property as a generic object. The type is deduced internally. More...
 
bool SetValue (string propertyName, object value, double time)
 Sets the value of the specified property as a generic object. The type is deduced internally. More...
 
bool SetValue (string propertyName, Plugin outPlugin, string outPropertyName)
 Sets the value of the specified property as a Plugin's output parameter. More...
 
bool SetValue (string propertyName, Plugin outPlugin, string outPropertyName, double time)
 Sets the value of the specified property as a Plugin's output parameter. More...
 
bool SetValue (string propertyName, Plugin value)
 Sets the value of the specified property as Plugin. More...
 
bool SetValue (string propertyName, Plugin value, double time)
 Sets the value of the specified property as Plugin. More...
 
bool SetValue (string propertyName, string propertyValue)
 Updates the currently loaded V-Ray scene. More...
 
bool SetValue (string propertyName, string propertyValue, double time)
 Updates the currently loaded V-Ray scene. More...
 
bool SetValue (string propertyName, Transform value)
 Sets the value of the specified property as Transform. More...
 
bool SetValue (string propertyName, Transform value, double time)
 Sets the value of the specified property as Transform. More...
 
bool SetValue (string propertyName, Vector value)
 Sets the value of the specified property as Vector. More...
 
bool SetValue (string propertyName, Vector value, double time)
 Sets the value of the specified property as Vector. More...
 
bool SetValue (string propertyName, Vector[] value)
 Sets the value of the specified property as an array of Vectors. More...
 
bool SetValue (string propertyName, Vector[] value, double time)
 Sets the value of the specified property as an array of Vectors. More...
 
bool SetValue (string propertyName, Vector[] value, int startIndex, int size)
 Sets the value of the specified property as a slice of a Vector array. More...
 
bool SetValue (string propertyName, Vector[] value, int startIndex, int size, double time)
 Sets the value of the specified property as a slice of a Vector array. More...
 
override string ToString ()
 Returns the plugin name. More...
 
string ToString ()
 
new string ToString ()
 
- Public Member Functions inherited from VRay.Plugins.IPluginRef< Node >
string ToString ()
 
new string ToString ()
 

Static Public Member Functions

static Node GetInstance (VRayRenderer renderer, string name)
 Use renderer to find and return a Node instance with the given name
 
static Node NewInstance (VRayRenderer renderer, string name)
 Use renderer to create and return a Node instance
 

Properties

string BakeSubdivFilepath [get, set]
 A file path for baking subdivision geometry to a *.vrmesh file. This will abort frame rendering! More...
 
IPluginRef Geometry [get, set]
 Geometry source plugin for this object
 
int IsInstancePrototype [get, set]
 Set to true to disable this node from being compiled. Used for optimizing instancer wrapper nodes. [UI Guides] gpuSupport=full More...
 
IList< object > Lights [get, set]
 List of lights that will be used with this object instead of all scene lights
 
IPluginRef MapChannels [get, set]
 A plugin providing map channels override data via EXT_EXTERNAL_MAP_CHANNELS interface.
 
IPluginRef Material [get, set]
 Material for the object surface. If this is invalid the object will render transparent.
 
int Nsamples [get, set]
 Number of transform samples for motion blur More...
 
int ObjectID [get, set]
 Object ID for the rendering More...
 
IPluginRef ObjectProperties [get, set]
 Object properties. [UI Guides] gpuSupport=none
 
int ObjectSpaceDisplacement [get, set]
 Parameter to pass to the GeomDisplacedMesh wrapper created by the node. See GeomDisplacedMesh::object_space_displacement [UI Guides] gpuSupport=full More...
 
Vector PivotOffset [get, set]
 Pivot point offset relative to center of local coordinate space. Does NOT affect rendering. More...
 
bool PrimaryVisibility [get, set]
 If off shading an intersection with this mesh will not generate a gbuffer (object is invisible to direct camera rays). More...
 
IList< string > SceneName [get, set]
 A list of string identifying the original scene node name for which this VRay Plugin was generated. The first string is directly the node name. More...
 
float TimeForGeometry [get, set]
 If this is used (controlled by 'use_time_for_geometry') it will be given as the time for which the instance should be created and the geometry should be compiled for geometry that supports being created only at a certain time (currently only GeomMeshFile). Note that this time will not be used for the transform of the node - the current frame time will be used for that More...
 
Transform Transform [get, set]
 Object-to-world space transformation for the object More...
 
string UserAttributes [get, set]
 A list of user defined attributes in the form "attrName1=value1;attrName2=value2" where values are usually numbers, strings or R,G,B triplets More...
 
IList< int > UserAttributesBin [get, set]
 Serialized user attributes (refer to BinUserAttributesWriter). More...
 
bool UseTimeForGeometry [get, set]
 If true the 'time_for_geometry' parameter will be used More...
 
bool Visible [get, set]
 true if the object is renderable (visible) and false otherwise; it only makes sense to use this parameter if it is animated, or if another object depends on this node but it must not be rendered More...
 
IPluginRef Volume [get, set]
 Volumetric shader if this object isn't an opaque surface
 
- Properties inherited from VRay.Plugins.Plugin
string this[string property] [get, set]
 Gets or sets a property with the given name. More...
 
- Properties inherited from VRay.Plugins.IPluginRef< T >
string OutputName [get]
 The output property name of the plugin if any. More...
 
new string OutputName [get]
 The output property name of the plugin if any. More...
 
Plugin Plugin [get]
 The plugin. More...
 
new T Plugin [get]
 The plugin. More...
 
- Properties inherited from VRay.Plugins.IPluginRef< Node >
string OutputName [get]
 The output property name of the plugin if any.
 
new string OutputName [get]
 The output property name of the plugin if any.
 
Plugin Plugin [get]
 The plugin.
 
new T Plugin [get]
 The plugin.
 

Additional Inherited Members

- Protected Member Functions inherited from VRay.Plugins.Plugin
 Plugin (VRayRenderer renderer, long id)
 
 Plugin (VRayRenderer renderer, string name)
 
void Initialize (VRayRenderer vrayRenderer, long pluginId)
 

Detailed Description

Top-level geometry plugin. Places a geometric object in the scene and associates it with a material

Member Function Documentation

◆ Get_BakeSubdivFilepath()

string VRay.Plugins.Node.Get_BakeSubdivFilepath ( double  time)

Gets the value of Node.BakeSubdivFilepath

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_Geometry()

IPluginRef VRay.Plugins.Node.Get_Geometry ( double  time)

Gets the value of Node.Geometry

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_IsInstancePrototype()

int VRay.Plugins.Node.Get_IsInstancePrototype ( double  time)

Gets the value of Node.IsInstancePrototype

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_Lights()

IList< object > VRay.Plugins.Node.Get_Lights ( double  time)

Gets the value of Node.Lights

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_MapChannels()

IPluginRef VRay.Plugins.Node.Get_MapChannels ( double  time)

Gets the value of Node.MapChannels

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_Material()

IPluginRef VRay.Plugins.Node.Get_Material ( double  time)

Gets the value of Node.Material

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_Nsamples()

int VRay.Plugins.Node.Get_Nsamples ( double  time)

Gets the value of Node.Nsamples

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_ObjectID()

int VRay.Plugins.Node.Get_ObjectID ( double  time)

Gets the value of Node.ObjectID

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_ObjectProperties()

IPluginRef VRay.Plugins.Node.Get_ObjectProperties ( double  time)

Gets the value of Node.ObjectProperties

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_ObjectSpaceDisplacement()

int VRay.Plugins.Node.Get_ObjectSpaceDisplacement ( double  time)

Gets the value of Node.ObjectSpaceDisplacement

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_PivotOffset()

Vector VRay.Plugins.Node.Get_PivotOffset ( double  time)

Gets the value of Node.PivotOffset

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_PrimaryVisibility()

bool VRay.Plugins.Node.Get_PrimaryVisibility ( double  time)

Gets the value of Node.PrimaryVisibility

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_SceneName()

IList< string > VRay.Plugins.Node.Get_SceneName ( double  time)

Gets the value of Node.SceneName

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_TimeForGeometry()

float VRay.Plugins.Node.Get_TimeForGeometry ( double  time)

Gets the value of Node.TimeForGeometry

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_Transform()

Transform VRay.Plugins.Node.Get_Transform ( double  time)

Gets the value of Node.Transform

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_UserAttributes()

string VRay.Plugins.Node.Get_UserAttributes ( double  time)

Gets the value of Node.UserAttributes

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_UserAttributesBin()

IList< int > VRay.Plugins.Node.Get_UserAttributesBin ( double  time)

Gets the value of Node.UserAttributesBin

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_UseTimeForGeometry()

bool VRay.Plugins.Node.Get_UseTimeForGeometry ( double  time)

Gets the value of Node.UseTimeForGeometry

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_Visible()

bool VRay.Plugins.Node.Get_Visible ( double  time)

Gets the value of Node.Visible

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Get_Volume()

IPluginRef VRay.Plugins.Node.Get_Volume ( double  time)

Gets the value of Node.Volume

Parameters
timeThe time, when the value is requested.
Returns
The value of the property.

◆ Set_BakeSubdivFilepath()

bool VRay.Plugins.Node.Set_BakeSubdivFilepath ( string  val,
double  time 
)

Sets a value to Node.BakeSubdivFilepath

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_Geometry()

bool VRay.Plugins.Node.Set_Geometry ( IPluginRef  val,
double  time 
)

Sets a value to Node.Geometry

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_IsInstancePrototype()

bool VRay.Plugins.Node.Set_IsInstancePrototype ( int  val,
double  time 
)

Sets a value to Node.IsInstancePrototype

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_Lights()

bool VRay.Plugins.Node.Set_Lights ( IList< object >  val,
double  time 
)

Sets a value to Node.Lights

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_MapChannels()

bool VRay.Plugins.Node.Set_MapChannels ( IPluginRef  val,
double  time 
)

Sets a value to Node.MapChannels

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_Material()

bool VRay.Plugins.Node.Set_Material ( IPluginRef  val,
double  time 
)

Sets a value to Node.Material

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_Nsamples()

bool VRay.Plugins.Node.Set_Nsamples ( int  val,
double  time 
)

Sets a value to Node.Nsamples

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_ObjectID()

bool VRay.Plugins.Node.Set_ObjectID ( int  val,
double  time 
)

Sets a value to Node.ObjectID

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_ObjectProperties()

bool VRay.Plugins.Node.Set_ObjectProperties ( IPluginRef  val,
double  time 
)

Sets a value to Node.ObjectProperties

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_ObjectSpaceDisplacement()

bool VRay.Plugins.Node.Set_ObjectSpaceDisplacement ( int  val,
double  time 
)

Sets a value to Node.ObjectSpaceDisplacement

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_PivotOffset()

bool VRay.Plugins.Node.Set_PivotOffset ( Vector  val,
double  time 
)

Sets a value to Node.PivotOffset

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_PrimaryVisibility()

bool VRay.Plugins.Node.Set_PrimaryVisibility ( bool  val,
double  time 
)

Sets a value to Node.PrimaryVisibility

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_SceneName()

bool VRay.Plugins.Node.Set_SceneName ( IList< string >  val,
double  time 
)

Sets a value to Node.SceneName

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_TimeForGeometry()

bool VRay.Plugins.Node.Set_TimeForGeometry ( float  val,
double  time 
)

Sets a value to Node.TimeForGeometry

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_Transform()

bool VRay.Plugins.Node.Set_Transform ( Transform  val,
double  time 
)

Sets a value to Node.Transform

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_UserAttributes()

bool VRay.Plugins.Node.Set_UserAttributes ( string  val,
double  time 
)

Sets a value to Node.UserAttributes

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_UserAttributesBin()

bool VRay.Plugins.Node.Set_UserAttributesBin ( IList< int >  val,
double  time 
)

Sets a value to Node.UserAttributesBin

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_UseTimeForGeometry()

bool VRay.Plugins.Node.Set_UseTimeForGeometry ( bool  val,
double  time 
)

Sets a value to Node.UseTimeForGeometry

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_Visible()

bool VRay.Plugins.Node.Set_Visible ( bool  val,
double  time 
)

Sets a value to Node.Visible

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

◆ Set_Volume()

bool VRay.Plugins.Node.Set_Volume ( IPluginRef  val,
double  time 
)

Sets a value to Node.Volume

Parameters
valThe value to be set.
timeThe time, when the value will be changed.
Returns
false, in case an error occurred.

Property Documentation

◆ BakeSubdivFilepath

string VRay.Plugins.Node.BakeSubdivFilepath
getset

A file path for baking subdivision geometry to a *.vrmesh file. This will abort frame rendering!

Default value:

◆ IsInstancePrototype

int VRay.Plugins.Node.IsInstancePrototype
getset

Set to true to disable this node from being compiled. Used for optimizing instancer wrapper nodes. [UI Guides] gpuSupport=full

Default value: 0

◆ Nsamples

int VRay.Plugins.Node.Nsamples
getset

Number of transform samples for motion blur

Default value: 0

◆ ObjectID

int VRay.Plugins.Node.ObjectID
getset

Object ID for the rendering

Default value: 0

◆ ObjectSpaceDisplacement

int VRay.Plugins.Node.ObjectSpaceDisplacement
getset

Parameter to pass to the GeomDisplacedMesh wrapper created by the node. See GeomDisplacedMesh::object_space_displacement [UI Guides] gpuSupport=full

Default value: 0

◆ PivotOffset

Vector VRay.Plugins.Node.PivotOffset
getset

Pivot point offset relative to center of local coordinate space. Does NOT affect rendering.

Default value: Vector(0, 0, 0)

◆ PrimaryVisibility

bool VRay.Plugins.Node.PrimaryVisibility
getset

If off shading an intersection with this mesh will not generate a gbuffer (object is invisible to direct camera rays).

Default value: 1

◆ SceneName

IList<string> VRay.Plugins.Node.SceneName
getset

A list of string identifying the original scene node name for which this VRay Plugin was generated. The first string is directly the node name.

Default value:

◆ TimeForGeometry

float VRay.Plugins.Node.TimeForGeometry
getset

If this is used (controlled by 'use_time_for_geometry') it will be given as the time for which the instance should be created and the geometry should be compiled for geometry that supports being created only at a certain time (currently only GeomMeshFile). Note that this time will not be used for the transform of the node - the current frame time will be used for that

Default value: 0

◆ Transform

Transform VRay.Plugins.Node.Transform
getset

Object-to-world space transformation for the object

Default value: Transform(Matrix(Vector(1, 0, 0), Vector(0, 1, 0), Vector(0, 0, 1)), Vector(0, 0, 0))

◆ UserAttributes

string VRay.Plugins.Node.UserAttributes
getset

A list of user defined attributes in the form "attrName1=value1;attrName2=value2" where values are usually numbers, strings or R,G,B triplets

Default value:

◆ UserAttributesBin

IList<int> VRay.Plugins.Node.UserAttributesBin
getset

Serialized user attributes (refer to BinUserAttributesWriter).

Default value: 0

◆ UseTimeForGeometry

bool VRay.Plugins.Node.UseTimeForGeometry
getset

If true the 'time_for_geometry' parameter will be used

Default value: 0

◆ Visible

bool VRay.Plugins.Node.Visible
getset

true if the object is renderable (visible) and false otherwise; it only makes sense to use this parameter if it is animated, or if another object depends on this node but it must not be rendered

Default value: 1


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