Inheritance: Transform3D
示例#1
0
 public Mesh()
 {
     Positions = new Point3DCollection();
     Normals = new Vector3DCollection();
     TextureCoordinates = new Point3DCollection();
     Indices = new Int32Collection();
     Transform = new MatrixTransform(Matrix3D.Identity);
 }
示例#2
0
        public void CanGetMatrixTransformValue()
        {
            // Arrange.
            MatrixTransform transform = new MatrixTransform(Matrix3D.Identity);

            // Act.
            Matrix3D matrix = transform.Value;

            // Assert.
            Assert.AreEqual(Matrix3D.Identity, matrix);
        }