Package com.banuba.sdk.scene
Interface Face
- All Known Implementing Classes:
Face.CppProxy
public interface Face
Class, represents face resources
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
getName()
void
setFaceMesh
(Mesh mesh) sets face mesh.void
setIndex
(int index) sets face index for face.
-
Method Details
-
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
sets face mesh. Must be only "$builtin$meshes/face.stream" mesh.- Parameters:
mesh
- (mesh): face mesh
-
getFaceMesh
- Returns:
- face mesh (mesh)
-