Class Transformation
java.lang.Object
org.bukkit.util.Transformation
Represents an arbitrary affine transformation.
- Since:
- 1.19.4
-
Constructor Summary
ConstructorsConstructorDescriptionTransformation(@NotNull org.joml.Vector3f translation, @NotNull org.joml.AxisAngle4f leftRotation, @NotNull org.joml.Vector3f scale, @NotNull org.joml.AxisAngle4f rightRotation) Transformation(@NotNull org.joml.Vector3f translation, @NotNull org.joml.Quaternionf leftRotation, @NotNull org.joml.Vector3f scale, @NotNull org.joml.Quaternionf rightRotation) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull org.joml.QuaternionfGets the left rotation component of this transformation.@NotNull org.joml.QuaternionfGets the right rotation component of this transformation.@NotNull org.joml.Vector3fgetScale()Gets the scale component of this transformation.@NotNull org.joml.Vector3fGets the translation component of this transformation.inthashCode()toString()
-
Constructor Details
-
Transformation
public Transformation(@NotNull @NotNull org.joml.Vector3f translation, @NotNull @NotNull org.joml.AxisAngle4f leftRotation, @NotNull @NotNull org.joml.Vector3f scale, @NotNull @NotNull org.joml.AxisAngle4f rightRotation) - Since:
- 1.19.4
-
Transformation
public Transformation(@NotNull @NotNull org.joml.Vector3f translation, @NotNull @NotNull org.joml.Quaternionf leftRotation, @NotNull @NotNull org.joml.Vector3f scale, @NotNull @NotNull org.joml.Quaternionf rightRotation) - Since:
- 1.19.4
-
-
Method Details
-
getTranslation
@NotNull public @NotNull org.joml.Vector3f getTranslation()Gets the translation component of this transformation.- Returns:
- translation component
- Since:
- 1.19.4
-
getLeftRotation
@NotNull public @NotNull org.joml.Quaternionf getLeftRotation()Gets the left rotation component of this transformation.- Returns:
- left rotation component
- Since:
- 1.19.4
-
getScale
@NotNull public @NotNull org.joml.Vector3f getScale()Gets the scale component of this transformation.- Returns:
- scale component
- Since:
- 1.19.4
-
getRightRotation
@NotNull public @NotNull org.joml.Quaternionf getRightRotation()Gets the right rotation component of this transformation.- Returns:
- right rotation component
- Since:
- 1.19.4
-
hashCode
-
equals
-
toString
-