Item
Beta
This represents the ID used to refer to a World Item Template registered in the World Item Template List. By passing it to ClusterScript.createItem, you can create a world item from the world item template.
const position = $.getPosition();position.y += 1.0;const rotation = $.getRotation();const worldItemTemplateId = new WorldItemTemplateId("marker");$.createItem(worldItemTemplateId, position, rotation);
Generates an instance that represents an ID for referencing a world item template.
Id set in WorldItemTemplateList
Generated using TypeDoc
This represents the ID used to refer to a World Item Template registered in the World Item Template List. By passing it to ClusterScript.createItem, you can create a world item from the world item template.
Example