Editor Scripting API

    The same entity as in Lens Scripting.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    enabled: boolean
    horizontalAlignment: Horizontal
    id: Uuid

    The unique id of the entity.

    intensity: number
    meshShadowMode: MeshShadowMode
    name: string
    radius: number
    renderOrder: number
    sceneObject: SceneObject
    shadowColor: vec4
    shadowDensity: number
    stretchMode: StretchMode
    type: string

    The entity's type.

    verticalAlignment: Vertical

    Methods

    • Beta

      Parameters

      • type: string

      Returns boolean

    • 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