Package com.banuba.sdk.scene
Class Transformation3d.CppProxy
- java.lang.Object
-
- com.banuba.sdk.scene.Transformation3d.CppProxy
-
- All Implemented Interfaces:
Transformation3d
- Enclosing interface:
- Transformation3d
public static final class Transformation3d.CppProxy extends java.lang.Object implements Transformation3d
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.Transformation3d
Transformation3d.CppProxy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_djinni_private_destroy()
Component
asComponent()
static Transformation3d
create()
Fabric method for transformation creating.protected void
finalize()
Vec3
getRotation()
Vec3
getScale()
Vec3
getTranslation()
void
setRotation(Vec3 angles)
Sets transformation rotations angles.void
setScale(Vec3 factor)
Sets transformation scale value.void
setTranslation(Vec3 position)
Sets transformation translation value.
-
-
-
Method Detail
-
_djinni_private_destroy
public void _djinni_private_destroy()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
setTranslation
public void setTranslation(Vec3 position)
Description copied from interface:Transformation3d
Sets transformation translation value.- Specified by:
setTranslation
in interfaceTransformation3d
- Parameters:
position
- (vec3): translation value.
-
getTranslation
public Vec3 getTranslation()
- Specified by:
getTranslation
in interfaceTransformation3d
- Returns:
- translation value (vec3).
-
setRotation
public void setRotation(Vec3 angles)
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
public Vec3 getRotation()
- Specified by:
getRotation
in interfaceTransformation3d
- Returns:
- rotation value (vec3).
-
setScale
public void setScale(Vec3 factor)
Description copied from interface:Transformation3d
Sets transformation scale value.- Specified by:
setScale
in interfaceTransformation3d
-
getScale
public Vec3 getScale()
- Specified by:
getScale
in interfaceTransformation3d
- Returns:
- scale value (vec3).
-
asComponent
public Component asComponent()
- Specified by:
asComponent
in interfaceTransformation3d
- Returns:
- upcast to base type
-
create
@Nullable public static Transformation3d create()
Description copied from interface:Transformation3d
Fabric method for transformation creating.- Returns:
- transformation component (transformation)
-
-