Package com.banuba.sdk.scene
Class Transformation3d.CppProxy
java.lang.Object
com.banuba.sdk.scene.Transformation3d.CppProxy
- All Implemented Interfaces:
Transformation3d
- Enclosing interface:
- Transformation3d
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.Transformation3d
Transformation3d.CppProxy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static Transformation3d
create()
Fabric method for transformation creating.protected void
finalize()
getScale()
void
setRotation
(Vec3 angles) Sets transformation rotations angles.void
Sets transformation scale value.void
setTranslation
(Vec3 position) Sets transformation translation value.
-
Method Details
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
-
setTranslation
Description copied from interface:Transformation3d
Sets transformation translation value.- Specified by:
setTranslation
in interfaceTransformation3d
- Parameters:
position
- (vec3): translation value.
-
getTranslation
- Specified by:
getTranslation
in interfaceTransformation3d
- Returns:
- translation value (vec3).
-
setRotation
Description copied from interface:Transformation3d
Sets transformation rotations angles. Angles must be in radians. Order of rotations is XYZ.- Specified by:
setRotation
in interfaceTransformation3d
- Parameters:
angles
- (vec3): rotation value.
-
getRotation
- Specified by:
getRotation
in interfaceTransformation3d
- Returns:
- rotation value (vec3).
-
setScale
Description copied from interface:Transformation3d
Sets transformation scale value.- Specified by:
setScale
in interfaceTransformation3d
-
getScale
- Specified by:
getScale
in interfaceTransformation3d
- Returns:
- scale value (vec3).
-
asComponent
- Specified by:
asComponent
in interfaceTransformation3d
- Returns:
- upcast to base type
-
create
Description copied from interface:Transformation3d
Fabric method for transformation creating.- Returns:
- transformation component (transformation)
-