Description
Instantiates a node in a 3D scene as a copy of another with an animation track.
Syntax
designer.instantiateNodeWithAnim3D("3D SCENE", "NODE NAME", "SUFFIX", "ANIMATION", ENABLE NODE, AUTO START ANIMATION, AUTO DELETE, ADD SUFFIX TO TAG, DISBALE UI UPDATE);
Parameters
Parameter | Type | Description |
---|---|---|
3D SCENE |
String | Name of the 3D Scene where the instantiate should occur |
NODE NAME |
String | Name of the node to clone |
SUFFIX |
String | Suffix to append to the node, material, animation and skeleton’s name (if present) |
ANIMATION |
String | Name of the animation to clone |
ENABLE NODE |
Boolean | Set to true to force the enable status of the node when it’s cloned |
AUTO START ANIMATION |
Boolean | Set to true to automatically start the animation track after instantiating |
AUTO DELETE |
Boolean | Set to true to automatically delete the node, materials, animation track and skeleton (if present) after the animation has finished playing |
ADD SUFFIX TO TAG |
Boolean | Set to true to add the suffix to the Tag property on the cloned nodes and instances |
DISABLE UI UPDATE |
Boolean | Set to true to disable the update of the Designer’s lists in the 3D Scene panel |
Return
This function does not return anything.
Need more help with this?
Don’t hesitate to contact us here.