MergePalette Data Member Function

Merges the palette of SourceNode with a Path. SourceNode must be either be derived from Path or <Mesh>, or be a <NodeLink> pointing at a Path or <Mesh>, or this function will fail. If Database is a valid <EditModel3D> object, or the Path is connected to a valid <EditModel3D> object, an editing action will be used to combine the palettes. Otherwise the palettes will be combined directly and the result cannot be undone by the user.

Prototype

int32 MergePalette( EditModel3D p_oModel, Node p_oSourceNode )

Parameters

Parameter Type Parameter Name Documentation
<EditModel3D>p_oModelA pointer to the Model containing the Path whose palette will be merged to, or null to merge the palettes without using the editing system.
<Node>p_oSourceNodeThe source <Node> whose palette will be merged with the Path.

Examples

Copy Text To Clipboard

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