Banuba SDK
libs
djinni
generated
objc
BNBFaceMorphing.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 "
BNBMorphingType.h
"
5
#import <Foundation/Foundation.h>
6
@class
BNBBeautyMorphing
;
7
@class
BNBComponent
;
8
@class
BNBFaceMorphing
;
9
@class
BNBMorphing
;
10
11
12
/**class which is the container for morphind and update it's resources. Subclass of component. */
13
14
#ifndef DJINNI_EXPORT
15
#define DJINNI_EXPORT __attribute__((__visibility__("default")))
16
#endif
17
18
DJINNI_EXPORT
19
@interface
BNBFaceMorphing
: NSObject
20
21
/**
22
*Fabric method for face_morphing creating.
23
*@return created (face_morphing).
24
*/
25
+ (nullable
BNBFaceMorphing
*)create:(BNBMorphingType)type;
26
27
/**
28
*Sets morphing asset.
29
*@param morph (morphing) morphing instance.
30
*/
31
- (void)setMorphing:(nullable
BNBMorphing
*)morph;
32
33
/**@return setted morphing (morphing). */
34
- (nullable
BNBMorphing
*)
getMorphing
;
35
36
/**Cast to beauty_morphing subclass. */
37
- (nullable
BNBBeautyMorphing
*)
asBeautyMorphing
;
38
39
/**@return visible(bool) visibility flag. */
40
- (BOOL)
isVisible
;
41
42
/**
43
*Set face_morphing visibility flag.
44
*Will be overridden if entity with mesh_instance component is child of entity with face_tracker component. Subclass of component.
45
*@param visible(bool) visibility flag.
46
*/
47
- (void)setVisible:(BOOL)visible;
48
49
/**
50
*set morphing weight. Must be in range [0, 1]
51
*@param weight (float)
52
*/
53
- (void)setWeight:(
float
)weight;
54
55
/**@return current morph weight (float) */
56
- (float)
getWeight
;
57
58
/**@return upcast to base type */
59
- (nullable
BNBComponent
*)
asComponent
;
60
61
@end
DJINNI_EXPORT
#define DJINNI_EXPORT
class which is the container for morphind and update it's resources.
Definition:
BNBFaceMorphing.h:15
-[BNBFaceMorphing getWeight]
float getWeight()
BNBComponent
Definition:
BNBComponent.h:21
BNBMorphingType.h
BNBFaceMorphing
Definition:
BNBFaceMorphing.h:19
-[BNBFaceMorphing isVisible]
BOOL isVisible()
BNBBeautyMorphing
Definition:
BNBBeautyMorphing.h:14
-[BNBFaceMorphing asComponent]
nullable BNBComponent * asComponent()
BNBMorphing
Definition:
BNBMorphing.h:16
-[BNBFaceMorphing asBeautyMorphing]
nullable BNBBeautyMorphing * asBeautyMorphing()
Cast to beauty_morphing subclass.
-[BNBFaceMorphing getMorphing]
nullable BNBMorphing * getMorphing()
Generated by
1.8.17