interface, represents face resources

Hierarchy

  • Face

Methods

  • Returns Mesh

    face mesh

  • Returns number

    face index

  • Returns string

    face name

  • sets face mesh. Must be only "$builtin$meshes/face.stream" mesh.

    Parameters

    • mesh: Mesh

      face mesh

    Returns void

  • sets face index for face. Face mesh and Textures will be updated according their faces index. If index will be greater than max faces can be found face resources update will be ignored.

    Parameters

    • index: number

      face index

    Returns void