Example #1
0
        /// <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;
        }
Example #2
0
        /// <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;
        }