程序包 org.bukkit.util

类 Transformation

java.lang.Object
org.bukkit.util.Transformation

public class Transformation extends Object
Represents an arbitrary affine transformation.
  • 构造器详细资料

  • 方法详细资料

    • getTranslation

      @NotNull public @NotNull org.joml.Vector3f getTranslation()
      Gets the translation component of this transformation.
      返回:
      translation component
    • getLeftRotation

      @NotNull public @NotNull org.joml.Quaternionf getLeftRotation()
      Gets the left rotation component of this transformation.
      返回:
      left rotation component
    • getScale

      @NotNull public @NotNull org.joml.Vector3f getScale()
      Gets the scale component of this transformation.
      返回:
      scale component
    • getRightRotation

      @NotNull public @NotNull org.joml.Quaternionf getRightRotation()
      Gets the right rotation component of this transformation.
      返回:
      right rotation component
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object