Editor Scripting API

    The same entity as in Lens Scripting.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    aspect: number
    aspectPreset: CameraAspectPreset
    cameraType: CameraType
    deviceProperty: CameraDeviceProperty
    enabled: boolean
    far: number
    fov: number
    id: Uuid

    The unique id of the entity.

    inputTexture: Texture
    maskTexture: Texture
    mipmapLevel: number
    name: string
    near: number
    oitLayers: CameraOitLayers
    orthographicSize: vec2
    renderLayer: LayerSet
    renderOrder: number
    renderTarget: RenderTarget
    sceneObject: SceneObject
    size: number
    type: string

    The entity's type.

    Methods

    • Beta

      Swap this entity for another one based on a JSON of the current entity id and the target entity id.

      Parameters

      • referenceMapping: object

      Returns void

    MMNEPVFCICPMFPCPTTAAATR