Editor Scripting API

    The same entity as in Lens Scripting.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    drawMouth: boolean
    enabled: boolean
    enabledLipsFix: boolean
    enabledTeethFix: boolean
    faceIndex: number
    horizontalAlignment: Horizontal
    id: Uuid

    The unique id of the entity.

    mainMaterial: Material
    maskCoordinates: vec2[]
    maskOnMouthClosed: Texture
    materials: Material[]
    meshShadowMode: MeshShadowMode
    name: string
    originalFaceIndex: number
    renderOrder: number
    sceneObject: SceneObject
    shadowColor: vec4
    shadowDensity: number
    stretchMode: StretchMode
    teethFixAlpha: number
    textureCoordinates: vec2[]
    type: string

    The entity's type.

    useOriginalTexCoords: boolean
    useTextureFacePosition: boolean
    verticalAlignment: Vertical

    Methods

    • Beta

      Parameters

      • origin: number
      • destination: number

      Returns void

    • 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