/// <summary> /// Initializes a new instance of the <see cref="TransformComponent" /> class. /// </summary> public TransformComponent() { children = new TransformChildrenCollection(this); UseTRS = true; Scale = Vector3.One; Rotation = Quaternion.Identity; }
/// <summary> /// Initializes a new instance of the <see cref="TransformComponent" /> class. /// </summary> public TransformComponent() { children = new TransformChildrenCollection(); children.CollectionChanged += ChildrenCollectionChanged; UseTRS = true; Scale = Vector3.One; Rotation = Quaternion.Identity; }