23 lines
484 B
C#
23 lines
484 B
C#
public interface IRotateHandler
|
|
{
|
|
/// <summary>
|
|
/// handle rotation of Ghost Transfrom
|
|
/// </summary>
|
|
void performRotation(BlockEditContext ctx);
|
|
|
|
/// <summary>
|
|
/// add an angle to the allowed angles to rotate with
|
|
/// </summary>
|
|
void addAngle(float angle);
|
|
|
|
/// <summary>
|
|
/// remove that angle
|
|
/// </summary>
|
|
void removeAngle(float angle);
|
|
|
|
/// <summary>
|
|
/// clear all added angles
|
|
/// </summary>
|
|
void clearAngles();
|
|
}
|