using GlitchyEngine.Math; namespace GlitchyEngine.Core; /// /// Represents the position, rotation and scale of an entity in the world. ///

/// Every entity has a transform component. ///
public class Transform : Component { /// /// Gets or sets the translation (position) of the entity. /// public float3 Translation { get { ScriptGlue.Transform_GetTranslation(Entity.UUID, out float3 translation); return translation; } set => ScriptGlue.Transform_SetTranslation(Entity.UUID, in value); } }