Interface Transformation3d

All Known Implementing Classes:
Transformation3d.CppProxy

public interface Transformation3d
  • Method Details

    • setTranslation

      void setTranslation(@NonNull Vec3 position)
      Sets transformation translation value.
      Parameters:
      position - (vec3): translation value.
    • getTranslation

      @NonNull Vec3 getTranslation()
      Returns:
      translation value (vec3).
    • setRotation

      void setRotation(@NonNull Vec3 angles)
      Sets transformation rotations angles. Angles must be in radians. Order of rotations is XYZ.
      Parameters:
      angles - (vec3): rotation value.
    • getRotation

      @NonNull Vec3 getRotation()
      Returns:
      rotation value (vec3).
    • setScale

      void setScale(@NonNull Vec3 factor)
      Sets transformation scale value.
      Parameters:
      scale - (vec3): scale value.
    • getScale

      @NonNull Vec3 getScale()
      Returns:
      scale value (vec3).
    • asComponent

      @Nullable Component asComponent()
      Returns:
      upcast to base type
    • create

      @Nullable static Transformation3d create()
      Fabric method for transformation creating.
      Returns:
      transformation component (transformation)