SCNMatrix4 Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A 4x4 matrix.
[System.Serializable]
[Foundation.Advice("This is a row major matrix representation.")]
public struct SCNMatrix4 : IEquatable<SceneKit.SCNMatrix4>
[System.Serializable]
public struct SCNMatrix4 : IEquatable<SceneKit.SCNMatrix4>
type SCNMatrix4 = struct
- Inheritance
-
SCNMatrix4
- Attributes
- Implements
Constructors
Fields
Identity |
Returns a 4x4 identity matrix. |
Row0 |
Gets the row that is specified by the index 0. |
Row1 |
Gets the row that is specified by the index 1. |
Row2 |
Gets the row that is specified by the index 2. |
Row3 |
Gets the row that is specified by the index 3. |
Properties
Column0 |
Gets the column that is specified by the index 0. |
Column1 |
Gets the column that is specified by the index 1. |
Column2 |
Gets the column that is specified by the index 2. |
Column3 |
Gets the column that is specified by the index 3. |
Determinant |
Gets the determinant of the matrix. |
M11 |
Gets or sets the value at row 1, column 1. |
M12 |
Gets or sets the value at row 1, column 2. |
M13 |
Gets or sets the value at row 1, column 3. |
M14 |
Gets or sets the value at row 1, column 4. |
M21 |
Gets or sets the value at row 2, column 1. |
M22 |
Gets or sets the value at row 2, column 2. |
M23 |
Gets or sets the value at row 2, column 3. |
M24 |
Gets or sets the value at row 2, column 4. |
M31 |
Gets or sets the value at row 3, column 1. |
M32 |
Gets or sets the value at row 3, column 2. |
M33 |
Gets or sets the value at row 3, column 3. |
M34 |
Gets or sets the value at row 3, column 4. |
M41 |
Gets or sets the value at row 4, column 1. |
M42 |
Gets or sets the value at row 4, column 2. |
M43 |
Gets or sets the value at row 4, column 3. |
M44 |
Gets or sets the value at row 4, column 4. |
Methods
CreateFromAxisAngle(SCNVector3, nfloat, SCNMatrix4) | |
CreateFromAxisAngle(SCNVector3, nfloat) | |
CreateFromAxisAngle(SCNVector3, Single, SCNMatrix4) |
Creates a matrix that represents the specified rotation about the specified axis, and stores the result in |
CreateFromAxisAngle(SCNVector3, Single) |
Creates a matrix that represents the specified rotation about the specified axis. |
CreateFromAxisAngle(Vector3, Single, SCNMatrix4) | |
CreateFromAxisAngle(Vector3d, Double, SCNMatrix4) | |
CreateOrthographic(nfloat, nfloat, nfloat, nfloat, SCNMatrix4) | |
CreateOrthographic(nfloat, nfloat, nfloat, nfloat) | |
CreateOrthographic(Single, Single, Single, Single, SCNMatrix4) |
Creates an orthographic projection matrix. |
CreateOrthographic(Single, Single, Single, Single) |
Creates an orthographic projection matrix. |
CreateOrthographicOffCenter(nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, SCNMatrix4) | |
CreateOrthographicOffCenter(nfloat, nfloat, nfloat, nfloat, nfloat, nfloat) | |
CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single, SCNMatrix4) |
Creates a decentered orthographic projection matrix. |
CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single) |
Creates a decentered orthographic projection matrix. |
CreatePerspectiveFieldOfView(nfloat, nfloat, nfloat, nfloat, SCNMatrix4) | |
CreatePerspectiveFieldOfView(nfloat, nfloat, nfloat, nfloat) | |
CreatePerspectiveFieldOfView(Single, Single, Single, Single, SCNMatrix4) |
Creates a perspective projection matrix. |
CreatePerspectiveFieldOfView(Single, Single, Single, Single) |
Creates a perspective projection matrix. |
CreatePerspectiveOffCenter(nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, SCNMatrix4) | |
CreatePerspectiveOffCenter(nfloat, nfloat, nfloat, nfloat, nfloat, nfloat) | |
CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single, SCNMatrix4) |
Creates a decentered perspective projection matrix. |
CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single) |
Creates a decentered perspective projection matrix. |
CreateRotationX(nfloat, SCNMatrix4) | |
CreateRotationX(nfloat) | |
CreateRotationX(Single, SCNMatrix4) |
Creates a matrix that represents a rotation about the X axis, and stores it in |
CreateRotationX(Single) |
Creates a matrix that represents a rotation about the X axis. |
CreateRotationY(nfloat, SCNMatrix4) | |
CreateRotationY(nfloat) | |
CreateRotationY(Single, SCNMatrix4) |
Creates a matrix that represents a rotation about the Y axis, and stores it in |
CreateRotationY(Single) |
Creates a matrix that represents a rotation about the Y axis. |
CreateRotationZ(nfloat, SCNMatrix4) | |
CreateRotationZ(nfloat) | |
CreateRotationZ(Single, SCNMatrix4) |
Creates a matrix that represents a rotation about the Z axis, and stores it in |
CreateRotationZ(Single) |
Creates a matrix that represents a rotation about the Z axis. |
CreateTranslation(nfloat, nfloat, nfloat, SCNMatrix4) | |
CreateTranslation(nfloat, nfloat, nfloat) | |
CreateTranslation(SCNVector3, SCNMatrix4) |
Creates a matrix that translates objects in the direction and magnitude of |
CreateTranslation(SCNVector3) |
Creates a matrix that translates objects in the direction and magnitude of |
CreateTranslation(Single, Single, Single, SCNMatrix4) |
Creates a matrix that translates objects in the direction and magnitude of the vector with the specified coordinates, and stores it in |
CreateTranslation(Single, Single, Single) |
Creates a matrix that translates objects in the direction and magnitude of the vector with the specified coordinates. |
Equals(Object) |
Returns |
Equals(SCNMatrix4) |
Returns |
GetHashCode() |
Returns the hashcode for this instance. |
Invert() |
Calculates the inverse of this matrix, if this matrix is invertible. |
Invert(SCNMatrix4) |
Calculates the inverse of |
LookAt(nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat) | |
LookAt(SCNVector3, SCNVector3, SCNVector3) |
Creates a matrix that transforms world space into the camera space with the specified up direction. |
LookAt(Single, Single, Single, Single, Single, Single, Single, Single, Single) |
Creates a matrix that transforms world space into the camera space with the specified up direction. |
Mult(SCNMatrix4, SCNMatrix4, SCNMatrix4) |
Left-multiplies |
Mult(SCNMatrix4, SCNMatrix4) |
Left-multiplies |
Rotate(Quaternion) |
Creates a rotation matrix that represents the transformation that is represented by |
Rotate(Quaterniond) |
Creates a rotation matrix that represents the transformation that is represented by |
Scale(nfloat, nfloat, nfloat) | |
Scale(nfloat) | |
Scale(SCNVector3) |
Creates a transformation matrix that scales along the axes by the corresponging components of |
Scale(Single, Single, Single) |
Creates a transformation matrix that scales in the three axes by the specified values. |
Scale(Single) |
Creates a transformation matrix that scales in all directions by |
ToString() |
Returns a string representation of this matrix. |
Transpose() |
Transposes this matrix in place. |
Transpose(SCNMatrix4, SCNMatrix4) |
Transposes the matrix |
Transpose(SCNMatrix4) |
Returns the transpose of |
Operators
Equality(SCNMatrix4, SCNMatrix4) | |
Inequality(SCNMatrix4, SCNMatrix4) | |
Multiply(SCNMatrix4, SCNMatrix4) |