Platforms to show: All Mac Windows Linux Cross-Platform
Back to SCNMatrix4MBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Initializes all values with zero.
SCNMatrix4MBS.copy as SCNMatrix4MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
SCNMatrix4MBS.equals(other as SCNMatrix4MBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
self: The first matrix to be compared.
other: The first matrix to be compared.
Returns true if each element in self is exactly equal to the corresponding element in other.
This function performs a numeric (not bitwise) comparison of each pair of elements.
SCNMatrix4MBS.Invert as SCNMatrix4MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The inverse matrix of the specified matrix, or the original matrix if it is not invertible.
SCNMatrix4MBS.Multiply(other as SCNMatrix4MBS) as SCNMatrix4MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
self: The multiplicand, or left operand of matrix multiplication.
other: The multiplier, or right operand of matrix multiplication.
Returns the matrix product of the self and other parameters.
Matrix multiplication is not commutative. As a transformation, the result of multiplying a matrix A by a matrix B is the transformation represented by B followed by the transformation represented by A.
SCNMatrix4MBS.Rotate(angle as double, sx as double, sy as double, sz as double) as SCNMatrix4MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
mat: The matrix to be combined with a rotation.
angle: The amount of rotation, in radians, measured counterclockwise around the rotation axis.
sx: The x-component of the rotation axis.
sy: The y-component of the rotation axis.
sz: The z-component of the rotation axis.
Returns a new matrix.
The resulting transformation consists of the specified rotation followed by the transformation represented by the mat parameter.
SCNMatrix4MBS.Scale(sx as double, sy as double, sz as double) as SCNMatrix4MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
self: The matrix to be combined with a translation.
sx: The scale factor in the x-axis direction.
sy: The scale factor in the y-axis direction.
sz: The scale factor in the z-axis direction.
Returns a new matrix.
The resulting transformation consists of the specified scale followed by the transformation represented by the mat parameter.
SCNMatrix4MBS.Translate(tx as double, ty as double, tz as double) as SCNMatrix4MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
self: The matrix to be combined with a translation.
tx: The translation distance in the x-axis direction.
ty: The translation distance in the y-axis direction.
tz: The translation distance in the z-axis direction.
Returns a new matrix.
The resulting transformation consists of the specified translation followed by the transformation represented by the mat parameter.
The items on this page are in the following plugins: MBS Mac64bit Plugin.