An IRayMaterialInstance consists of a link to a Meta_IRayMaterialDefinition node.

The parameters for the material definition's arguments are selectively specified by creating Meta_MaterialArgument nodes added as children of this node with default values taken from the equivalent argument in the material definition. In other words, the default values in the material definitions child arguments can be overridden by creating the same metadata child on this node.

Public Types

enum IDX

Property index.


version number of this metanode, for potential future upgrade hooks


bool - if false any object using this material instance will not be drawn


link - a Meta_IRayMaterialDefinition to use


This instance is used for preview.

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtree_cppCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API