Interface IStructureWithRotationPoint

All Superinterfaces:
IPropertyHolder, IPropertyHolderConst

public interface IStructureWithRotationPoint extends IPropertyHolder
Represents a structure that has the rotation point property. See Property.ROTATION_POINT.

All structures that implement this interface need to register the Property.ROTATION_POINT property in their structure type.

  • Method Details

    • getRotationPoint

      default Vector3Di getRotationPoint()
      Gets the rotation point of the structure.
      Returns:
      The rotation point of the structure.
    • setRotationPoint

      default IPropertyValue<Vector3Di> setRotationPoint(Vector3Di rotationPoint)
      Sets the rotation point of the structure.
      Parameters:
      rotationPoint - The new rotation point of the structure.
      Returns:
      The previous property value of the rotation point.