BITKit/Src/Core/Transform/BITTransform.cs

22 lines
473 B
C#

using System;
using Unity.Mathematics;
namespace BITKit
{
public enum TransformMode : int
{
Locked,
Move,
Rotate,
Scale,
}
public interface ITransform:IDisposable
{
float3 LocalPosition { get; set; }
float3 Position { get; set; }
quaternion LocalRotation { get; set; }
quaternion Rotation { get; set; }
float3 LocalScale { get; set; }
float4x4 Matrix { get; set; }
}
}