Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)
Represents a 3x3 matrix which can represent rotations around axes.
Namespace: Visual3DAssembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
[SerializableAttribute] public struct VMatrix3 : IEquatable<VMatrix3>
<SerializableAttribute> _ Public Structure VMatrix3 _ Implements IEquatable(Of VMatrix3)
Members
| All Members | Constructors | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| VMatrix3(Vector3, Vector3, Vector3) |
Create a new Matrix from 3 Vector3 objects.
| |
| VMatrix3(Single, Single, Single, Single, Single, Single, Single, Single, Single) |
Creates a new Matrix3 with all the specified parameters.
| |
| Add(VMatrix3, VMatrix3) |
Used to add two matrices together.
| |
| Addition(VMatrix3, VMatrix3) |
Used to add two matrices together.
| |
| Determinant | ||
| Equality(VMatrix3, VMatrix3) |
Test two matrices for (value) equality
| |
| Equals(Object) |
Compares this Matrix to another object. This should be done because the
equality operators (==, !=) have been overriden by this class.
(Overrides ValueType..::..Equals(Object).) | |
| Equals(VMatrix3) | ||
| FromAxes(Vector3, Vector3, Vector3) |
Creates a Matrix3 from 3 axes.
| |
| FromEulerAnglesXYZ(Single, Single, Single) |
Constructs this Matrix from 3 euler angles, in degrees.
| |
| GetColumn(Int32) |
Gets a matrix column by index.
| |
| GetHashCode()()()() |
Provides a unique hash code based on the member variables of this
class. This should be done because the equality operators (==, !=)
have been overriden by this class.
The standard implementation is a simple XOR operation between all local
member variables.
(Overrides ValueType..::..GetHashCode()()()().) | |
| Identity | ||
| ImplicitWideningImplicitImplicitImplicit(VMatrix3 to Matrix) | ||
| Inequality(VMatrix3, VMatrix3) | ||
| Item[([( Int32])]) |
Allows the Matrix to be accessed linearly (m[0] -> m[8]).
| |
| Item[([( Int32, Int32])]) |
Indexer for accessing the matrix like a 2d array (i.e. matrix[2,3]).
| |
| m00 | ||
| m01 | ||
| m02 | ||
| m10 | ||
| m11 | ||
| m12 | ||
| m20 | ||
| m21 | ||
| m22 | ||
| Multiply(Vector3, VMatrix3) |
vector * matrix [1x3 * 3x3 = 1x3]
| |
| Multiply(Single, VMatrix3) |
Multiplies all the items in the Matrix3 by a scalar value.
| |
| Multiply(VMatrix3, Vector3) |
matrix * vector [3x3 * 3x1 = 3x1]
| |
| Multiply(VMatrix3, Single) |
Multiplies all the items in the Matrix3 by a scalar value.
| |
| Multiply(VMatrix3, VMatrix3) |
Multiply (concatenate) two Matrix3 instances together.
| |
| Multiply(Vector3, VMatrix3) |
vector * matrix [1x3 * 3x3 = 1x3]
| |
| Multiply(Single, VMatrix3) |
Multiplies all the items in the Matrix3 by a scalar value.
| |
| Multiply(VMatrix3, Vector3) |
matrix * vector [3x3 * 3x1 = 3x1]
| |
| Multiply(VMatrix3, Single) |
Multiplies all the items in the Matrix3 by a scalar value.
| |
| Multiply(VMatrix3, VMatrix3) |
Multiply (concatenate) two Matrix3 instances together.
| |
| Negate(VMatrix3) |
Negates all the items in the Matrix.
| |
| SetColumn(Int32, Vector3) |
Sets one of the columns of the Matrix with a Vector3.
| |
| Subtract(VMatrix3, VMatrix3) |
Used to subtract two matrices.
| |
| Subtraction(VMatrix3, VMatrix3) |
Used to subtract two matrices.
| |
| ToString()()()() |
Overrides the Object.ToString() method to provide a text representation of
a Matrix4.
(Overrides ValueType..::..ToString()()()().) | |
| Transpose()()()() |
Swap the rows of the matrix with the columns.
| |
| UnaryNegation(VMatrix3) |
Negates all the items in the Matrix.
| |
| Zero |