AObject(510)
Type | Interface | Interface Description |
---|---|---|
Variables | name: string | Used to store and identify the names of special effect objects, facilitating object management and lookup. |
Code Example
@customNode()
export class CustomNodeTS extends BasicScriptNode {
@output('string')
nameList: string;
execute() {
var sceneObjects = this.scene.getAllSceneObjects();
this.nameList = '';
sceneObjects.forEach(obj => {
this.nameList += '\n${obj.name}';
})
}
}