프로퍼티 | 타입 | 설명 | |
---|---|---|---|
M11 | float | ||
M12 | float | ||
M13 | float | ||
M21 | float | ||
M22 | float | ||
M23 | float | ||
M31 | float | ||
M32 | float | ||
M33 | float |
메소드 | 설명 | |
---|---|---|
AdaptiveInvert ( |
Inverts the largest nonsingular submatrix in the matrix, excluding 2x2's that involve M13 or M31, and excluding 1x1's that include nondiagonal elements.
|
|
Add ( Matrix &a, Matrix &b, |
Adds the two matrices together on a per-element basis.
|
|
Add ( Matrix &a, |
Adds the two matrices together on a per-element basis.
|
|
Add ( |
Adds the two matrices together on a per-element basis.
|
|
Add ( |
Adds the two matrices together on a per-element basis.
|
|
CreateCrossProduct ( System.Vector3 &v, |
Creates a skew symmetric matrix M from vector A such that M * B for some other vector B is equivalent to the cross product of A and B.
|
|
CreateFromAxisAngle ( System.Vector3 axis, float angle ) : |
Creates a matrix representing a rotation of a given angle around a given axis.
|
|
CreateFromAxisAngle ( System.Vector3 &axis, float angle, |
Creates a matrix representing a rotation of a given angle around a given axis.
|
|
CreateFromMatrix ( Matrix matrix4X4 ) : |
Creates a 3x3 matrix from an XNA 4x4 matrix.
|
|
CreateFromMatrix ( Matrix &matrix4X4, |
Creates a 3x3 matrix from an XNA 4x4 matrix.
|
|
CreateFromQuaternion ( Quaternion quaternion ) : |
Creates a 3x3 matrix representing the orientation stored in the quaternion.
|
|
CreateFromQuaternion ( Quaternion &quaternion, |
Creates a 3x3 matrix representing the orientation stored in the quaternion.
|
|
CreateOuterProduct ( System.Vector3 &a, System.Vector3 &b, |
Computes the outer product of the given vectors.
|
|
CreateQuaternion ( |
Constructs a quaternion from a 3x3 rotation matrix.
|
|
CreateQuaternion ( |
Constructs a quaternion from a 3x3 rotation matrix.
|
|
CreateScale ( System.Vector3 &scale ) : |
Constructs a non-uniform scaling matrix.
|
|
CreateScale ( float scale ) : |
Constructs a uniform scaling matrix.
|
|
CreateScale ( float x, float y, float z ) : |
Constructs a non-uniform scaling matrix.
|
|
CreateScale ( System.Vector3 &scale, |
Constructs a non-uniform scaling matrix.
|
|
CreateScale ( float scale, |
Constructs a uniform scaling matrix.
|
|
CreateScale ( float x, float y, float z, |
Constructs a non-uniform scaling matrix.
|
|
Determinant ( ) : float |
Calculates the determinant of the matrix.
|
|
Invert ( |
Inverts the given matix.
|
|
Matrix3x3 ( float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33 ) : System |
Constructs a new 3 row, 3 column matrix.
|
|
Multiply ( Matrix &a, |
Multiplies the two matrices.
|
|
Multiply ( |
Multiplies the two matrices.
|
|
Multiply ( |
Multiplies the two matrices.
|
|
Multiply ( |
Scales all components of the matrix.
|
|
MultiplyByTransposed ( |
Multiplies a matrix with a transposed matrix.
|
|
MultiplyTransposed ( |
Multiplies a transposed matrix with another matrix.
|
|
Negate ( |
Negates every element in the matrix.
|
|
Subtract ( |
Subtracts the two matrices from each other on a per-element basis.
|
|
ToMatrix4X4 ( |
Creates a 4x4 matrix from a 3x3 matrix.
|
|
ToMatrix4X4 ( |
Creates a 4x4 matrix from a 3x3 matrix.
|
|
ToString ( ) : string |
Creates a string representation of the matrix.
|
|
Transform ( System.Vector3 v, |
Transforms the vector by the matrix.
|
|
Transform ( System.Vector3 &v, Matrix &matrix, System.Vector3 &result ) : void |
Transforms the vector by the matrix.
|
|
Transform ( System.Vector3 &v, |
Transforms the vector by the matrix.
|
|
TransformTranspose ( System.Vector3 v, |
Transforms the vector by the matrix's transpose.
|
|
TransformTranspose ( System.Vector3 &v, Matrix &matrix, System.Vector3 &result ) : void |
Transforms the vector by the matrix's transpose.
|
|
TransformTranspose ( System.Vector3 &v, |
Transforms the vector by the matrix's transpose.
|
|
Transpose ( Matrix &matrix, |
Computes the transposed matrix of a matrix.
|
|
Transpose ( |
Computes the transposed matrix of a matrix.
|
|
operator ( ) : |
Multiplies the two matrices.
|
메소드 | 설명 | |
---|---|---|
AdaptiveDeterminant ( int &subMatrixCode ) : float |
Calculates the determinant of largest nonsingular submatrix, excluding 2x2's that involve M13 or M31, and excluding all 1x1's that involve nondiagonal elements.
|
public static AdaptiveInvert ( |
||
matrix | Matrix to be inverted. | |
result | Inverted matrix. | |
리턴 | void |
public static Add ( Matrix &a, Matrix &b, |
||
a | Matrix | First matrix to add. |
b | Matrix | Second matrix to add. |
result | Sum of the two matrices. | |
리턴 | void |
public static Add ( Matrix &a, |
||
a | Matrix | First matrix to add. |
b | Second matrix to add. | |
result | Sum of the two matrices. | |
리턴 | void |
public static Add ( |
||
a | First matrix to add. | |
b | Matrix | Second matrix to add. |
result | Sum of the two matrices. | |
리턴 | void |
public static Add ( |
||
a | First matrix to add. | |
b | Second matrix to add. | |
result | Sum of the two matrices. | |
리턴 | void |
public static CreateCrossProduct ( System.Vector3 &v, |
||
v | System.Vector3 | Vector to base the matrix on. |
result | Skew-symmetric matrix result. | |
리턴 | void |
public static CreateFromAxisAngle ( System.Vector3 axis, float angle ) : |
||
axis | System.Vector3 | Axis around which to rotate. |
angle | float | Amount to rotate. |
리턴 |
public static CreateFromAxisAngle ( System.Vector3 &axis, float angle, |
||
axis | System.Vector3 | Axis around which to rotate. |
angle | float | Amount to rotate. |
result | Matrix representing the rotation. | |
리턴 | void |
public static CreateFromMatrix ( Matrix matrix4X4 ) : |
||
matrix4X4 | Matrix | Matrix to extract a 3x3 matrix from. |
리턴 |
public static CreateFromMatrix ( Matrix &matrix4X4, |
||
matrix4X4 | Matrix | Matrix to extract a 3x3 matrix from. |
matrix3X3 | Upper 3x3 matrix extracted from the XNA matrix. | |
리턴 | void |
public static CreateFromQuaternion ( Quaternion quaternion ) : |
||
quaternion | Quaternion | Quaternion to use to create a matrix. |
리턴 |
public static CreateFromQuaternion ( Quaternion &quaternion, |
||
quaternion | Quaternion | Quaternion to use to create a matrix. |
result | Matrix representing the quaternion's orientation. | |
리턴 | void |
public static CreateOuterProduct ( System.Vector3 &a, System.Vector3 &b, |
||
a | System.Vector3 | First vector. |
b | System.Vector3 | Second vector. |
result | Outer product result. | |
리턴 | void |
public static CreateQuaternion ( |
||
r | Rotation matrix to create the quaternion from. | |
리턴 | Quaternion |
public static CreateQuaternion ( |
||
r | Rotation matrix to create the quaternion from. | |
q | Quaternion | Quaternion based on the rotation matrix. |
리턴 | void |
public static CreateScale ( System.Vector3 &scale ) : |
||
scale | System.Vector3 | Values defining the axis scales. |
리턴 |
public static CreateScale ( float scale ) : |
||
scale | float | Value to use in the diagonal. |
리턴 |
public static CreateScale ( float x, float y, float z ) : |
||
x | float | Scaling along the x axis. |
y | float | Scaling along the y axis. |
z | float | Scaling along the z axis. |
리턴 |
public static CreateScale ( System.Vector3 &scale, |
||
scale | System.Vector3 | Values defining the axis scales. |
matrix | Scaling matrix. | |
리턴 | void |
public static CreateScale ( float scale, |
||
scale | float | Value to use in the diagonal. |
matrix | Scaling matrix. | |
리턴 | void |
public static CreateScale ( float x, float y, float z, |
||
x | float | Scaling along the x axis. |
y | float | Scaling along the y axis. |
z | float | Scaling along the z axis. |
matrix | Scaling matrix. | |
리턴 | void |
public static Invert ( |
||
matrix | Matrix to be inverted. | |
result | Inverted matrix. | |
리턴 | void |
public Matrix3x3 ( float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33 ) : System | ||
m11 | float | Value at row 1, column 1 of the matrix. |
m12 | float | Value at row 1, column 2 of the matrix. |
m13 | float | Value at row 1, column 3 of the matrix. |
m21 | float | Value at row 2, column 1 of the matrix. |
m22 | float | Value at row 2, column 2 of the matrix. |
m23 | float | Value at row 2, column 3 of the matrix. |
m31 | float | Value at row 3, column 1 of the matrix. |
m32 | float | Value at row 3, column 2 of the matrix. |
m33 | float | Value at row 3, column 3 of the matrix. |
리턴 | System |
public static Multiply ( Matrix &a, |
||
a | Matrix | First matrix to multiply. |
b | Second matrix to multiply. | |
result | Product of the multiplication. | |
리턴 | void |
public static Multiply ( |
||
a | First matrix to multiply. | |
b | Matrix | Second matrix to multiply. |
result | Product of the multiplication. | |
리턴 | void |
public static Multiply ( |
||
a | First matrix to multiply. | |
b | Second matrix to multiply. | |
result | Product of the multiplication. | |
리턴 | void |
public static Multiply ( |
||
matrix | Matrix to scale. | |
scale | float | Amount to scale. |
result | Scaled matrix. | |
리턴 | void |
public static MultiplyByTransposed ( |
||
matrix | Matrix to be multiplied. | |
transpose | Matrix to be transposed and multiplied. | |
result | Product of the multiplication. | |
리턴 | void |
public static MultiplyTransposed ( |
||
transpose | Matrix to be transposed and multiplied. | |
matrix | Matrix to be multiplied. | |
result | Product of the multiplication. | |
리턴 | void |
public static Negate ( |
||
matrix | Matrix to negate. | |
result | Negated matrix. | |
리턴 | void |
public static Subtract ( |
||
a | First matrix to subtract. | |
b | Second matrix to subtract. | |
result | Difference of the two matrices. | |
리턴 | void |
public static ToMatrix4X4 ( |
||
a | 3x3 matrix. | |
리턴 | Matrix |
public static ToMatrix4X4 ( |
||
a | 3x3 matrix. | |
b | Matrix | Created 4x4 matrix. |
리턴 | void |
public static Transform ( System.Vector3 v, |
||
v | System.Vector3 | Vector3 to transform. |
matrix | Matrix to use as the transformation. | |
리턴 | System.Vector3 |
public static Transform ( System.Vector3 &v, Matrix &matrix, System.Vector3 &result ) : void | ||
v | System.Vector3 | Vector3 to transform. |
matrix | Matrix | Matrix to use as the transformation. |
result | System.Vector3 | Product of the transformation. |
리턴 | void |
public static Transform ( System.Vector3 &v, |
||
v | System.Vector3 | Vector3 to transform. |
matrix | Matrix to use as the transformation. | |
result | System.Vector3 | Product of the transformation. |
리턴 | void |
public static TransformTranspose ( System.Vector3 v, |
||
v | System.Vector3 | Vector3 to transform. |
matrix | Matrix to use as the transformation transpose. | |
리턴 | System.Vector3 |
public static TransformTranspose ( System.Vector3 &v, Matrix &matrix, System.Vector3 &result ) : void | ||
v | System.Vector3 | Vector3 to transform. |
matrix | Matrix | Matrix to use as the transformation transpose. |
result | System.Vector3 | Product of the transformation. |
리턴 | void |
public static TransformTranspose ( System.Vector3 &v, |
||
v | System.Vector3 | Vector3 to transform. |
matrix | Matrix to use as the transformation transpose. | |
result | System.Vector3 | Product of the transformation. |
리턴 | void |
public static Transpose ( Matrix &matrix, |
||
matrix | Matrix | Matrix to transpose. |
result | Transposed matrix. | |
리턴 | void |
public static Transpose ( |
||
matrix | Matrix to transpose. | |
result | Transposed matrix. | |
리턴 | void |