Class Face.CppProxy

java.lang.Object
com.banuba.sdk.scene.Face.CppProxy
All Implemented Interfaces:
Face
Enclosing interface:
Face

public static final class Face.CppProxy extends Object implements Face
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • getName

      public String getName()
      Specified by:
      getName in interface Face
      Returns:
      face name (string)
    • getIndex

      public int getIndex()
      Specified by:
      getIndex in interface Face
      Returns:
      face index (int)
    • setIndex

      public void setIndex(int index)
      Description copied from interface: Face
      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.
      Specified by:
      setIndex in interface Face
      Parameters:
      index - (int): face index
    • setFaceMesh

      public void setFaceMesh(Mesh mesh)
      Description copied from interface: Face
      sets face mesh. Must be only "$builtin$meshes/face.stream" mesh.
      Specified by:
      setFaceMesh in interface Face
      Parameters:
      mesh - (mesh): face mesh
    • getFaceMesh

      public Mesh getFaceMesh()
      Specified by:
      getFaceMesh in interface Face
      Returns:
      face mesh (mesh)