Editor Scripting API
    • Retrieves or creates a ScreenRegionComponent for a given camera object and scene.

      Parameters

      • cameraObject: SceneObject

        The camera object to search for a ScreenRegionComponent.

      • scene: Scene

        The scene in which to create the ScreenRegionComponent if it doesn't exist.

      Returns ScreenRegionComponent

      The ScreenRegionComponent associated with the camera object, or a newly created one.

    MMNEPVFCICPMFPCPTTAAATR