Banuba SDK
libs
djinni
generated
objc
BNBTransformation3d.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 "
BNBVec3.h
"
5
#import <Foundation/Foundation.h>
6
@class
BNBComponent
;
7
@class
BNBTransformation3d
;
8
9
10
11
#ifndef DJINNI_EXPORT
12
#define DJINNI_EXPORT __attribute__((__visibility__("default")))
13
#endif
14
15
DJINNI_EXPORT
16
@interface
BNBTransformation3d
: NSObject
17
18
/**
19
*Fabric method for transformation creating.
20
*@return transformation component (transformation)
21
*/
22
+ (nullable
BNBTransformation3d
*)
create
;
23
24
/**
25
*Sets transformation translation value.
26
*@param position (vec3): translation value.
27
*/
28
- (void)setTranslation:(nonnull
BNBVec3
*)position;
29
30
/**@return translation value (vec3). */
31
- (nonnull
BNBVec3
*)
getTranslation
;
32
33
/**
34
*Sets transformation rotations angles. Angles must be in radians. Order of rotations is XYZ.
35
*@param angles (vec3): rotation value.
36
*/
37
- (void)setRotation:(nonnull
BNBVec3
*)angles;
38
39
/**@return rotation value (vec3). */
40
- (nonnull
BNBVec3
*)
getRotation
;
41
42
/**
43
*Sets transformation scale value.
44
*@param scale (vec3): scale value.
45
*/
46
- (void)setScale:(nonnull
BNBVec3
*)factor;
47
48
/**@return scale value (vec3). */
49
- (nonnull
BNBVec3
*)
getScale
;
50
51
/**@return upcast to base type */
52
- (nullable
BNBComponent
*)
asComponent
;
53
54
@end
BNBComponent
Definition:
BNBComponent.h:21
-[BNBTransformation3d getTranslation]
nonnull BNBVec3 * getTranslation()
-[BNBTransformation3d asComponent]
nullable BNBComponent * asComponent()
DJINNI_EXPORT
#define DJINNI_EXPORT
for order of values in action units array see action_units_indices enum
Definition:
BNBActionUnits.h:9
BNBVec3
Definition:
BNBVec3.h:12
BNBVec3.h
BNBTransformation3d
Definition:
BNBTransformation3d.h:16
-[BNBTransformation3d getScale]
nonnull BNBVec3 * getScale()
+[BNBTransformation3d create]
nullable BNBTransformation3d * create()
Fabric method for transformation creating.
-[BNBTransformation3d getRotation]
nonnull BNBVec3 * getRotation()
Generated by
1.8.17