Package com.banuba.sdk.scene
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 class
Face.CppProxy
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Mesh
getFaceMesh()
int
getIndex()
java.lang.String
getName()
void
setFaceMesh(Mesh mesh)
sets face mesh.void
setIndex(int index)
sets face index for face.
-
-
-
Method Detail
-
getName
@NonNull java.lang.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)
-
-