BITKit/Src/Core/Transform/BITTransform.cs

22 lines
473 B
C#
Raw Normal View History

2024-03-31 23:31:00 +08:00
using System;
using Unity.Mathematics;
2023-06-05 19:57:17 +08:00
namespace BITKit
{
public enum TransformMode : int
{
Locked,
Move,
Rotate,
Scale,
}
2024-03-31 23:31:00 +08:00
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; }
}
2023-06-05 19:57:17 +08:00
}