Banuba SDK
BNBFace.h
Go to the documentation of this file.
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file was generated by Djinni from scene.djinni
3 
4 #import <Foundation/Foundation.h>
5 @class BNBMesh;
6 
7 
8 /**Class, represents face resources */
9 
10 #ifndef DJINNI_EXPORT
11  #define DJINNI_EXPORT __attribute__((__visibility__("default")))
12 #endif
13 
15 @interface BNBFace : NSObject
16 
17 /**@return face name (string) */
18 - (nonnull NSString *)getName;
19 
20 /**@return face index (int) */
21 - (int32_t)getIndex;
22 
23 /**
24  *sets face index for face. Face mesh and textures will be updated according their faces index.
25  *If index will be greater than max faces can be found face resources update will be ignored.
26  *@param index (int): face index
27  */
28 - (void)setIndex:(int32_t)index;
29 
30 /**
31  *sets face mesh. Must be only "$builtin$meshes/face.stream" mesh.
32  *@param mesh (mesh): face mesh
33  */
34 - (void)setFaceMesh:(nullable BNBMesh *)mesh;
35 
36 /**@return face mesh (mesh) */
37 - (nullable BNBMesh *)getFaceMesh;
38 
39 @end
-[BNBFace getIndex]
int32_t getIndex()
-[BNBFace getFaceMesh]
nullable BNBMesh * getFaceMesh()
BNBFace
Definition: BNBFace.h:15
BNBMesh
Definition: BNBMesh.h:14
-[BNBFace getName]
nonnull NSString * getName()
DJINNI_EXPORT
#define DJINNI_EXPORT
Class, represents face resources.
Definition: BNBFace.h:11