Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MWTransform"/> class.
 /// </summary>
 public MWTransform()
 {
     Position = new MWVector3();
     Rotation = new MWQuaternion();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MWTransform"/> class.
 /// </summary>
 /// <param name="position">The position of the new transform.</param>
 /// <param name="rotation">The rotation of the new transform.</param>
 public MWTransform(MWVector3 position, MWQuaternion rotation)
 {
     Position = position;
     Rotation = rotation;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MWScaledTransform"/> class.
 /// </summary>
 /// <param name="position">The position of the new scaled transform.</param>
 /// <param name="rotation">The rotation of the new scaled transform.</param>
 /// <param name="scale">The scale of the new scaled transform.</param>
 public MWScaledTransform(MWVector3 position, MWQuaternion rotation, MWVector3 scale)
     : base(position, rotation)
 {
     Scale = scale;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MWScaledTransform"/> class.
 /// </summary>
 /// <param name="transform">The other <see cref="MWScaledTransform"/> to use for the initial value of the components for the new instance.</param>
 public MWScaledTransform(MWScaledTransform transform) : base(transform)
 {
     Scale = transform.Scale;
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MWScaledTransform"/> class.
 /// </summary>
 public MWScaledTransform()
     : base()
 {
     Scale = new MWVector3();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MWTransform"/> class.
 /// </summary>
 /// <param name="position">The position of the new transform.</param>
 /// <param name="rotation">The rotation of the new transform.</param>
 /// <param name="scale">The scale of the new transform.</param>
 public MWTransform(MWVector3 position, MWQuaternion rotation, MWVector3 scale)
 {
     Position = position;
     Rotation = rotation;
     Scale    = scale;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MWTransform"/> class.
 /// </summary>
 /// <param name="transform">The other <see cref="MWTransform"/> to use for the initial value of the components for the new instance.</param>
 public MWTransform(MWTransform transform)
 {
     Position = transform.Position;
     Rotation = transform.Rotation;
     Scale    = transform.Scale;
 }