Editor Scripting API
    • Creates a perspective camera on the specified scene object.

      Parameters

      • scene: Scene

        The scene in which the camera will be created.

      • sceneObject: SceneObject

        The scene object on which the camera will be added.

      • OptionalrenderLayer: LayerId

      Returns SceneObject

      The modified scene object with the added camera component.

    MMNEPVFCICPMFPCPTTAAATR