Package com.banuba.sdk.scene
Interface Transformation3d
- All Known Implementing Classes:
Transformation3d.CppProxy
public interface Transformation3d
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Transformation3d
create()
Fabric method for transformation creating.getScale()
void
setRotation
(Vec3 angles) Sets transformation rotations angles.void
Sets transformation scale value.void
setTranslation
(Vec3 position) Sets transformation translation value.
-
Method Details
-
setTranslation
Sets transformation translation value.- Parameters:
position
- (vec3): translation value.
-
getTranslation
- Returns:
- translation value (vec3).
-
setRotation
Sets transformation rotations angles. Angles must be in radians. Order of rotations is XYZ.- Parameters:
angles
- (vec3): rotation value.
-
getRotation
- Returns:
- rotation value (vec3).
-
setScale
Sets transformation scale value.- Parameters:
scale
- (vec3): scale value.
-
getScale
- Returns:
- scale value (vec3).
-
asComponent
- Returns:
- upcast to base type
-
create
Fabric method for transformation creating.- Returns:
- transformation component (transformation)
-