Preparing search index...

    The same entity as in Lens Scripting.

        const model = this.pluginSystem.findInterface(Editor.Model.IModel) as Editor.Model.IModel;
    const camera = model.project.scene.mainCamera;

    // Sync all device camera properties (aspect + FOV)
    camera.deviceProperty = Editor.Components.CameraDeviceProperty.All;
    console.log(`deviceProperty: ${camera.deviceProperty}`);
    Index

    Enumeration Members

    Enumeration Members

    All: number

    Synchronize all supported device camera properties.

    Aspect: number

    Synchronize aspect ratio from the device camera.

    Fov: number

    Synchronize field of view from the device camera.

    None: number

    No device camera properties synchronized.