Interface Face

All Known Implementing Classes:
Face.CppProxy

public interface Face
Class, represents face resources
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
     
    void
    sets face mesh.
    void
    setIndex(int index)
    sets face index for face.
  • Method Details

    • getName

      @NonNull String getName()
      Returns:
      face name (string)
    • getIndex

      int getIndex()
      Returns:
      face index (int)
    • setIndex

      void setIndex(int index)
      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 - (int): face index
    • setFaceMesh

      void setFaceMesh(@Nullable Mesh mesh)
      sets face mesh. Must be only "$builtin$meshes/face.stream" mesh.
      Parameters:
      mesh - (mesh): face mesh
    • getFaceMesh

      @Nullable Mesh getFaceMesh()
      Returns:
      face mesh (mesh)