#import <BNBTransformation3d.h>
Definition at line 16 of file BNBTransformation3d.h.
◆ asComponent
- Returns
- upcast to base type
◆ create
Fabric method for transformation creating.
- Returns
- transformation component (transformation)
◆ getRotation
- Returns
- rotation value (vec3).
◆ getScale
- Returns
- scale value (vec3).
◆ getTranslation
- (nonnull BNBVec3 *) getTranslation |
|
|
|
- Returns
- translation value (vec3).
◆ setRotation:
- (void) setRotation: |
|
(nonnull BNBVec3 *) |
angles |
|
Sets transformation rotations angles.
Angles must be in radians. Order of rotations is XYZ.
- Parameters
-
angles | (vec3): rotation value. |
◆ setScale:
- (void) setScale: |
|
(nonnull BNBVec3 *) |
factor |
|
Sets transformation scale value.
- Parameters
-
scale | (vec3): scale value. |
◆ setTranslation:
- (void) setTranslation: |
|
(nonnull BNBVec3 *) |
position |
|
Sets transformation translation value.
- Parameters
-
position | (vec3): translation value. |
The documentation for this class was generated from the following file: