Meta_MaterialArgument

A MaterialArgument defines an argument for a Meta_MaterialParameter.

The actual argument value is added as a Meta_MetaDataNNN child, or indirectly references a property of the parent StdMaterial of the IRayMaterialInstance using the definition the parameter belongs to. NOTE: PropertyName is meaningless until used under a StdMaterial/IRayMaterialInstance node pair.

Public Types


enum IDX

Property index.

Idx_Source

Source (int) - where the value of the argument should come from.

Idx_PropertyName

string - the name of the StdMaterial property to use if Source==Source_Property


enum Source

Values for Idx_Source.

Source_Default

From the definition default argument.

Source_Value

From a constant stored as a Meta_MetaDataNNN child of this node.

Source_Property

From a property of the StdMaterial parent of the IRayMaterialInstance. Which property to use is specified in the "PropertyName" property of this node.

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtree_cppCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API