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.
int32 MergePalette( EditModel3D p_oModel, Node p_oSourceNode )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<EditModel3D> | p_oModel | A 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_oSourceNode | The source <Node> whose palette will be merged with the Path. |
None published. Please look for an example in the Scenome Scripting Language code base.