Function

SCNMatrix4Invert(_:)

Returns the inverse of the specified matrix.

Declaration

func SCNMatrix4Invert(_ m: SCNMatrix4) -> SCNMatrix4

Parameters

mat

The matrix to be inverted.

Return Value

The inverse matrix of the specified matrix, or the original matrix if it is not invertible.

See Also

Performing Matrix Operations

func SCNMatrix4Translate(SCNMatrix4, Float, Float, Float) -> SCNMatrix4

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

func SCNMatrix4Rotate(SCNMatrix4, Float, Float, Float, Float) -> SCNMatrix4

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

func SCNMatrix4Scale(SCNMatrix4, Float, Float, Float) -> SCNMatrix4

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software