Meta_IRayMaterialInstance

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.

Idx_Version

version number of this metanode, for potential future upgrade hooks

Idx_Enabled

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

Idx_Definition

link - a Meta_IRayMaterialDefinition to use

Idx_IsPreview

This instance is used for preview.

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtree_cppCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API