程序包 org.bukkit.util

类 Transformation

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

public class Transformation extends Object
表示任意仿射变换。
  • 构造器详细资料

  • 方法详细资料

    • getTranslation

      @NotNull public @NotNull org.joml.Vector3f getTranslation()
      获取此变换的平移分量。

      原文: Gets the translation component of this transformation.

      返回:
      平移分量
    • getLeftRotation

      @NotNull public @NotNull org.joml.Quaternionf getLeftRotation()
      获取此变换的左旋转分量。

      原文: Gets the left rotation component of this transformation.

      返回:
      左旋转分量
    • getScale

      @NotNull public @NotNull org.joml.Vector3f getScale()
      获取此变换的缩放分量。

      原文: Gets the scale component of this transformation.

      返回:
      缩放分量
    • getRightRotation

      @NotNull public @NotNull org.joml.Quaternionf getRightRotation()
      获取此变换的右旋转分量。

      原文: Gets the right rotation component of this transformation.

      返回:
      右旋转分量
    • hashCode

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

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

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