TextureMatrix Constructor |
Name | Description | |
---|---|---|
TextureMatrix |
Initializes a TextureMatrix to the identity matrix.
| |
TextureMatrix(Matrix) |
Initializes a TextureMatrix from a Matrix.
The upper left 2x2 matrix defines rotation and scaling. The top two elements of the last column define translation.
| |
TextureMatrix(Rectangular, Rectangular, Rectangular, Rectangular) |
Initializes a TextureMatrix from texture corner points. Normally, a texture is
mapped such that the lower left corner is texture coordinate (0, 0), the lower right is (1, 0),
the upper right is (1, 1), and the upper left is (0, 1). This code remaps those corners to
new corners. For example, remapping the lower left corner to (0.5, 0), the lower right to (1, 0.5),
the upper right to (0.5, 1), and the upper left to (0, 0.5) would rotate the texture 45 degress.
| |
TextureMatrix(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single) |
Initializes a TextureMatrix. The subscripts define [row][column].
|