Preparing search index...

    Visual component for applying retouching effects to faces.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    enabled: boolean

    Whether the component is active.

    eyeWhiteningIntensity: number

    Intensity of eye whitening effect, from 0 to 1.

    faceIndex: number

    Index of the face to apply retouching effects to.

    horizontalAlignment: Horizontal

    Horizontal alignment of the mesh visual.

    id: Uuid

    The unique id of the entity.

    mainMaterial: Material

    Primary material used for rendering.

    materials: Material[]

    Array of all materials on this mesh visual.

    meshShadowMode: MeshShadowMode

    Shadow rendering mode for the mesh.

    meta: Meta

    Metadata associated with this entity, providing access to its unique identifier and other descriptive properties.

    name: string

    Name of the component.

    renderOrder: number

    Determines the order in which this visual component is rendered relative to others.

    sceneObject: SceneObject

    Scene object this component is attached to.

    shadowColor: vec4

    Color of the mesh shadow.

    shadowDensity: number

    Opacity of the mesh shadow.

    sharpenEyeIntensity: number

    Intensity of eye sharpening effect, from 0 to 1.

    softSkinIntensity: number

    Intensity of soft skin smoothing effect, from 0 to 1.

    stretchMode: StretchMode

    How the mesh stretches to fit its container.

    teethWhiteningIntensity: number

    Intensity of teeth whitening effect, from 0 to 1.

    type: string

    The entity's type.

    verticalAlignment: Vertical

    Vertical alignment of the mesh visual.

    Methods

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean

    • Move a material from one index to another.

      Parameters

      • origin: number
      • destination: number

      Returns void