Struct XMFloat4X3
A 4*3 floating point matrix.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.DXMath
Assembly: JeremyAnsel.DirectX.DXMath.dll
Syntax
public struct XMFloat4X3 : IEquatable<XMFloat4X3>
Constructors
| Edit this page View SourceXMFloat4X3(float, float, float, float, float, float, float, float, float, float, float, float)
Initializes a new instance of the XMFloat4X3 struct.
Declaration
public XMFloat4X3(float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33, float m41, float m42, float m43)
Parameters
Type | Name | Description |
---|---|---|
float | m11 | The value in the first row and first column. |
float | m12 | The value in the first row and second column. |
float | m13 | The value in the first row and third column. |
float | m21 | The value in the second row and first column. |
float | m22 | The value in the second row and second column. |
float | m23 | The value in the second row and third column. |
float | m31 | The value in the third row and first column. |
float | m32 | The value in the third row and second column. |
float | m33 | The value in the third row and third column. |
float | m41 | The value in the fourth row and first column. |
float | m42 | The value in the fourth row and second column. |
float | m43 | The value in the fourth row and third column. |
XMFloat4X3(float[])
Initializes a new instance of the XMFloat4X3 struct.
Declaration
public XMFloat4X3(float[] array)
Parameters
Type | Name | Description |
---|---|---|
float[] | array | the values of the matrix. |
Properties
| Edit this page View Sourcethis[int, int]
Gets or sets an element specified by row and column.
Declaration
public float this[int row, int column] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
int | row | The row containing the matrix element. |
int | column | The column containing the matrix element. |
Property Value
Type | Description |
---|---|
float | A float value. |
M11
Gets or sets the value in the first row and first column.
Declaration
public float M11 { get; set; }
Property Value
Type | Description |
---|---|
float |
M12
Gets or sets the value in the first row and second column.
Declaration
public float M12 { get; set; }
Property Value
Type | Description |
---|---|
float |
M13
Gets or sets the value in the first row and third column.
Declaration
public float M13 { get; set; }
Property Value
Type | Description |
---|---|
float |
M21
Gets or sets the value in the second row and first column.
Declaration
public float M21 { get; set; }
Property Value
Type | Description |
---|---|
float |
M22
Gets or sets the value in the second row and second column.
Declaration
public float M22 { get; set; }
Property Value
Type | Description |
---|---|
float |
M23
Gets or sets the value in the second row and third column.
Declaration
public float M23 { get; set; }
Property Value
Type | Description |
---|---|
float |
M31
Gets or sets the value in the third row and first column.
Declaration
public float M31 { get; set; }
Property Value
Type | Description |
---|---|
float |
M32
Gets or sets the value in the third row and second column.
Declaration
public float M32 { get; set; }
Property Value
Type | Description |
---|---|
float |
M33
Gets or sets the value in the third row and third column.
Declaration
public float M33 { get; set; }
Property Value
Type | Description |
---|---|
float |
M41
Gets or sets the value in the fourth row and first column.
Declaration
public float M41 { get; set; }
Property Value
Type | Description |
---|---|
float |
M42
Gets or sets the value in the fourth row and second column.
Declaration
public float M42 { get; set; }
Property Value
Type | Description |
---|---|
float |
M43
Gets or sets the value in the fourth row and third column.
Declaration
public float M43 { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
| Edit this page View SourceEquals(XMFloat4X3)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(XMFloat4X3 other)
Parameters
Type | Name | Description |
---|---|---|
XMFloat4X3 | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceFromMatrix(XMMatrix)
Converts a XMMatrix to a XMFloat4X3.
Declaration
public static XMFloat4X3 FromMatrix(XMMatrix value)
Parameters
Type | Name | Description |
---|---|---|
XMMatrix | value | A XMMatrix. |
Returns
Type | Description |
---|---|
XMFloat4X3 | A XMFloat4X3. |
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
| Edit this page View SourceToMatrix()
Converts a XMFloat4X3 to a XMMatrix.
Declaration
public XMMatrix ToMatrix()
Returns
Type | Description |
---|---|
XMMatrix | A XMMatrix. |
Operators
| Edit this page View Sourceoperator ==(XMFloat4X3, XMFloat4X3)
Compares two XMFloat4X3 objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(XMFloat4X3 left, XMFloat4X3 right)
Parameters
Type | Name | Description |
---|---|---|
XMFloat4X3 | left | The left XMFloat4X3 to compare. |
XMFloat4X3 | right | The right XMFloat4X3 to compare. |
Returns
Type | Description |
---|---|
bool |
implicit operator XMMatrix(XMFloat4X3)
Converts a XMFloat4X3 to a XMMatrix.
Declaration
public static implicit operator XMMatrix(XMFloat4X3 value)
Parameters
Type | Name | Description |
---|---|---|
XMFloat4X3 | value | A XMFloat4X3. |
Returns
Type | Description |
---|---|
XMMatrix | A XMMatrix. |
implicit operator XMFloat4X3(XMMatrix)
Converts a XMMatrix to a XMFloat4X3.
Declaration
public static implicit operator XMFloat4X3(XMMatrix value)
Parameters
Type | Name | Description |
---|---|---|
XMMatrix | value | A XMMatrix. |
Returns
Type | Description |
---|---|
XMFloat4X3 | A XMFloat4X3. |
operator !=(XMFloat4X3, XMFloat4X3)
Compares two XMFloat4X3 objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(XMFloat4X3 left, XMFloat4X3 right)
Parameters
Type | Name | Description |
---|---|---|
XMFloat4X3 | left | The left XMFloat4X3 to compare. |
XMFloat4X3 | right | The right XMFloat4X3 to compare. |
Returns
Type | Description |
---|---|
bool |