Editor Scripting API

    Represents the options for creating a scene object.

    interface CreateOptions {
        componentType: string | string[];
        name: string;
        parent: SceneObject;
        scene: Scene;
    }
    Index

    Properties

    componentType: string | string[]

    The type(s) of component(s) to be attached to the new object. if null, no component will be attached.

    name: string

    The name of the new object

    parent: SceneObject

    The parent object under which the new object will be created.

    scene: Scene

    The scene in which the object will be created.

    MMNEPVFCICPMFPCPTTAAATR