TextureMatrix Class |
Namespace: AGI.Foundation.Graphics
The TextureMatrix type exposes the following members.
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].
|
Name | Description | |
---|---|---|
M11 |
Gets the element in the first row, first column.
| |
M12 |
Gets the element in the first row, second column.
| |
M13 |
Gets the element in the first row, third column.
| |
M14 |
Gets the element in the first row, fourth column.
| |
M21 |
Gets the element in the second row, first column.
| |
M22 |
Gets the element in the second row, second column.
| |
M23 |
Gets the element in the second row, third column.
| |
M24 |
Gets the element in the second row, fourth column.
| |
M31 |
Gets the element in the third row, first column.
| |
M32 |
Gets the element in the third row, second column.
| |
M33 |
Gets the element in the third row, third column.
| |
M34 |
Gets the element in the third row, fourth column.
| |
M41 |
Gets the element in the fourth row, first column.
| |
M42 |
Gets the element in the fourth row, second column.
| |
M43 |
Gets the element in the fourth row, third column.
| |
M44 |
Gets the element in the fourth row, fourth column.
|
Name | Description | |
---|---|---|
Dispose | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |