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

#import <BNBMeshInstance.h>

Inheritance diagram for BNBMeshInstance:

Instance Methods

(void) - setVisible:
 
(BOOL) - isVisible
 
(void) - setMaterial:
 
(nullable BNBMaterial *) - getMaterial
 
(void) - setMesh:geometryIndex:
 
(nullable BNBMesh *) - getMesh
 
(int32_t) - getGeometryIndex
 
(void) - animationChange:mode:
 
(void) - animationPlay
 
(void) - animationPause
 
(void) - animationSeek:
 
(BOOL) - isAnimationPlaying
 
(nonnull NSString *) - getAnimation
 
(BNBAnimationMode) - getAnimationMode
 
(int64_t) - getAnimationPositionNs
 
(int64_t) - getAnimationDurationNs
 
(int64_t) - getAnimationTimeOffsetNs
 
(void) - setAnimationTimeOffsetNs:
 
(void) - addParameter:
 
(nonnull NSArray< BNBParameter * > *) - getParameters
 
(void) - removeParameter:
 

Detailed Description

Definition at line 11 of file BNBMeshInstance.h.

Method Documentation

◆ addParameter:

- (void) addParameter: (nullable BNBParameter *)  parameter

◆ animationChange:mode:

- (void) animationChange: (nonnull NSString *)  animation
mode: (BNBAnimationMode)  mode 

◆ animationPause

- (void) animationPause

◆ animationPlay

- (void) animationPlay

◆ animationSeek:

- (void) animationSeek: (int64_t)  positionNs

◆ getAnimation

- (nonnull NSString *) getAnimation

◆ getAnimationDurationNs

- (int64_t) getAnimationDurationNs

◆ getAnimationMode

- (BNBAnimationMode) getAnimationMode

◆ getAnimationPositionNs

- (int64_t) getAnimationPositionNs

◆ getAnimationTimeOffsetNs

- (int64_t) getAnimationTimeOffsetNs

◆ getGeometryIndex

- (int32_t) getGeometryIndex

◆ getMaterial

- (nullable BNBMaterial *) getMaterial

◆ getMesh

- (nullable BNBMesh *) getMesh

◆ getParameters

- (nonnull NSArray<BNBParameter *> *) getParameters

◆ isAnimationPlaying

- (BOOL) isAnimationPlaying

◆ isVisible

- (BOOL) isVisible

◆ removeParameter:

- (void) removeParameter: (nullable BNBParameter *)  parameter

◆ setAnimationTimeOffsetNs:

- (void) setAnimationTimeOffsetNs: (int64_t)  timeNs

◆ setMaterial:

- (void) setMaterial: (nullable BNBMaterial *)  material

◆ setMesh:geometryIndex:

- (void) setMesh: (nullable BNBMesh *)  mesh
geometryIndex: (int32_t)  geometryIndex 

◆ setVisible:

- (void) setVisible: (BOOL)  visible

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