Banuba SDK
Instance Methods | List of all members
BNBFace Class Reference

#import <BNBFace.h>

Inheritance diagram for BNBFace:

Instance Methods

(nonnull NSString *) - getName
 
(int32_t) - getIndex
 
(void) - setIndex:
 sets face index for face. More...
 
(void) - setFaceMesh:
 sets face mesh. More...
 
(nullable BNBMesh *) - getFaceMesh
 

Detailed Description

Definition at line 15 of file BNBFace.h.

Method Documentation

◆ getFaceMesh

- (nullable BNBMesh *) getFaceMesh
Returns
face mesh (mesh)

◆ getIndex

- (int32_t) getIndex
Returns
face index (int)

◆ getName

- (nonnull NSString *) getName
Returns
face name (string)

◆ setFaceMesh:

- (void) setFaceMesh: (nullable BNBMesh *)  mesh

sets face mesh.

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

Parameters
mesh(mesh): face mesh

◆ setIndex:

- (void) setIndex: (int32_t)  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

The documentation for this class was generated from the following file: