namespace Sandbox; public partial class Component { /// /// The local transform of the game object. /// [ActionGraphInclude, Group( "Transform/Local" )] public Transform LocalTransform { get => GameObject.LocalTransform; set => GameObject.LocalTransform = value; } /// /// The local position of the game object. /// [ActionGraphInclude, Group( "Transform/Local" )] public Vector3 LocalPosition { get => LocalTransform.Position; set => LocalTransform = LocalTransform.WithPosition( value ); } /// /// The local rotation of the game object. /// [ActionGraphInclude, Group( "Transform/Local" )] public Rotation LocalRotation { get => LocalTransform.Rotation; set => LocalTransform = LocalTransform.WithRotation( value ); } /// /// The local scale of the game object. /// [ActionGraphInclude, Group( "Transform/Local" )] public Vector3 LocalScale { get => LocalTransform.Scale; set => LocalTransform = LocalTransform.WithScale( value ); } }