Banuba SDK
BNBLayer.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 BNBLayer;
6 
7 
8 /**
9  *A container for entities, which is needed for explicit grouping entities in order in which they will be sent to render.
10  *All morph entities must lay on the same layer.
11  */
12 
13 #ifndef DJINNI_EXPORT
14  #define DJINNI_EXPORT __attribute__((__visibility__("default")))
15 #endif
16 
18 @interface BNBLayer : NSObject
19 
20 /**
21  *Fabric method for layer creating.
22  *@return created layer (layer).
23  */
24 + (nullable BNBLayer *)create:(nonnull NSString *)name;
25 
26 /**
27  *set layer name
28  *@param layer name (string)
29  */
30 - (void)setName:(nonnull NSString *)name;
31 
32 /**@return layer name (string) */
33 - (nonnull NSString *)getName;
34 
35 /**
36  *Set enable/disable layer flag. The disabled layer will not be rendered.
37  *@param active (bool) activity flag.
38  */
39 - (void)setActive:(BOOL)active;
40 
41 /**@return activity flag (bool) */
42 - (BOOL)isActive;
43 
44 /**
45  *ability for enable/disable morphing in specified layer
46  *@param enable (bool)
47  */
48 - (void)enableMorphing:(BOOL)enable;
49 
50 /**@return is morphing enable in the current layer */
51 - (BOOL)isMorphingEnabled;
52 
53 @end
-[BNBLayer getName]
nonnull NSString * getName()
-[BNBLayer isActive]
BOOL isActive()
DJINNI_EXPORT
#define DJINNI_EXPORT
A container for entities, which is needed for explicit grouping entities in order in which they will ...
Definition: BNBLayer.h:14
BNBLayer
Definition: BNBLayer.h:18
-[BNBLayer isMorphingEnabled]
BOOL isMorphingEnabled()