Banuba SDK
BNBMeshInstance.h
Go to the documentation of this file.
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from scene.djinni
3 
4 #import "BNBAnimationMode.h"
5 #import <Foundation/Foundation.h>
6 @class BNBMaterial;
7 @class BNBMesh;
8 @class BNBParameter;
9 
10 
11 @interface BNBMeshInstance : NSObject
12 
13 - (void)setVisible:(BOOL)visible;
14 
15 - (BOOL)isVisible;
16 
17 - (void)setMaterial:(nullable BNBMaterial *)material;
18 
19 - (nullable BNBMaterial *)getMaterial;
20 
21 - (void)setMesh:(nullable BNBMesh *)mesh
22  geometryIndex:(int32_t)geometryIndex;
23 
24 - (nullable BNBMesh *)getMesh;
25 
26 - (int32_t)getGeometryIndex;
27 
28 - (void)animationChange:(nonnull NSString *)animation
29  mode:(BNBAnimationMode)mode;
30 
31 - (void)animationPlay;
32 
33 - (void)animationPause;
34 
35 - (void)animationSeek:(int64_t)positionNs;
36 
37 - (BOOL)isAnimationPlaying;
38 
39 - (nonnull NSString *)getAnimation;
40 
41 - (BNBAnimationMode)getAnimationMode;
42 
43 - (int64_t)getAnimationPositionNs;
44 
45 - (int64_t)getAnimationDurationNs;
46 
47 - (int64_t)getAnimationTimeOffsetNs;
48 
49 - (void)setAnimationTimeOffsetNs:(int64_t)timeNs;
50 
51 - (void)addParameter:(nullable BNBParameter *)parameter;
52 
53 - (nonnull NSArray<BNBParameter *> *)getParameters;
54 
55 - (void)removeParameter:(nullable BNBParameter *)parameter;
56 
57 @end
-[BNBMeshInstance getMaterial]
nullable BNBMaterial * getMaterial()
BNBParameter
Definition: BNBParameter.h:10
-[BNBMeshInstance getAnimationTimeOffsetNs]
int64_t getAnimationTimeOffsetNs()
-[BNBMeshInstance getAnimation]
nonnull NSString * getAnimation()
-[BNBMeshInstance getGeometryIndex]
int32_t getGeometryIndex()
-[BNBMeshInstance getAnimationDurationNs]
int64_t getAnimationDurationNs()
BNBMaterial
Definition: BNBMaterial.h:11
-[BNBMeshInstance getMesh]
nullable BNBMesh * getMesh()
-[BNBMeshInstance isVisible]
BOOL isVisible()
BNBMeshInstance
Definition: BNBMeshInstance.h:12
-[BNBMeshInstance isAnimationPlaying]
BOOL isAnimationPlaying()
-[BNBMeshInstance animationPause]
void animationPause()
BNBMesh
Definition: BNBMesh.h:8
-[BNBMeshInstance animationPlay]
void animationPlay()
-[BNBMeshInstance getAnimationMode]
BNBAnimationMode getAnimationMode()
-[BNBMeshInstance getParameters]
nonnull NSArray< BNBParameter * > * getParameters()
BNBAnimationMode.h
-[BNBMeshInstance getAnimationPositionNs]
int64_t getAnimationPositionNs()