Description
Deletes a target running instance created by the [LINK REQUIRED] Instantiate 3D node.
Requirements
In order to be targeted by this function the instance must meet all of these requirements :
- It must have been created since the designer and show were launched, and not in a previous session
- It must have an associated animation track
- It must have been created with the options
Auto Start Animation
andAuto Delete After End Animation
enabled
This function will also automatically delete all materials, animations tracks and skeletons associated with the targeted instances.
Syntax
designer.deleteRunningInstance("3D SCENE", "SUFFIX");
Parameters
Parameter | Type | Description |
---|---|---|
3D SCENE |
String | Name of the 3D Scene where the instances were created |
SUFFIX |
String | Suffix of the instance to delete. This refers to the suffix that was used by the [LINK REQUIRED] Instantiate 3D node |
Return
This function does not return anything.
Example
Coming soon.
Need more help with this?
Don’t hesitate to contact us here.