Platforms to show: All Mac Windows Linux Cross-Platform

**SCNMatrix4MBS.Constructor**

Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |

method | SceneKit | MBS Mac64bit Plugin | 19.1 | Yes | No | No | Yes, macOS only | No |

**Function:**The constructor.

**Notes:**Initializes all values with zero.

**SCNMatrix4MBS.copy as SCNMatrix4MBS**

Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |

method | SceneKit | MBS Mac64bit Plugin | 19.1 | Yes | No | No | Yes, macOS only | No |

**Function:**Creates a copy of the matrix.

**SCNMatrix4MBS.equals(other as SCNMatrix4MBS) as boolean**

Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |

method | SceneKit | MBS Mac64bit Plugin | 19.1 | Yes | No | No | Yes, macOS only | No |

**Function:**Returns a Boolean value that indicates whether the corresponding elements of two matrices are equal.

**Notes:**

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 | Console & Web | iOS |

method | SceneKit | MBS Mac64bit Plugin | 19.1 | Yes | No | No | Yes, macOS only | No |

**Function:**Returns the inverse of the specified matrix.

**Notes:**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 | Console & Web | iOS |

method | SceneKit | MBS Mac64bit Plugin | 19.1 | Yes | No | No | Yes, macOS only | No |

**Function:**Returns the product of two matrices.

**Notes:**

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 | Console & Web | iOS |

method | SceneKit | MBS Mac64bit Plugin | 19.1 | Yes | No | No | Yes, macOS only | No |

**Function:**Returns a new matrix created by concatenating the specified matrix with a rotation transformation.

**Notes:**

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 | Console & Web | iOS |

method | SceneKit | MBS Mac64bit Plugin | 19.1 | Yes | No | No | Yes, macOS only | No |

**Function:**Returns a new matrix created by concatenating the specified matrix with a scale transformation.

**Notes:**

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.

See also:

**SCNMatrix4MBS.Translate(tx as double, ty as double, tz as double) as SCNMatrix4MBS**

Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |

method | SceneKit | MBS Mac64bit Plugin | 19.1 | Yes | No | No | Yes, macOS only | No |

**Function:**Returns a new matrix created by concatenating the specified matrix with a translation transformation.

**Notes:**

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.

Links

MBS FileMaker tutorial videos