GetMaterials Data Member Function

Populates a <NodeBuffer> with all the <Material> nodes stored by the <Mesh> objects <MaterialPaletteNode>, including <Material> nodes implemented by <NodeLink> nodes.

Prototype

int32 GetMaterials( NodeBuffer p_apMaterials )

Parameters

Parameter Type Parameter Name Documentation
<NodeBuffer>p_apMaterialsA pointer to a <NodeBuffer> object.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.