Function

SCNMatrix4EqualToMatrix4(_:_:)

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

Declaration

func SCNMatrix4EqualToMatrix4(_ a: SCNMatrix4, _ b: SCNMatrix4) -> Bool

Parameters

matA

The first matrix to be compared.

matA

The first matrix to be compared.

Return Value

True if each element in matA is exactly equal to the corresponding element in matB.

Discussion

This function performs a numeric (not bitwise) comparison of each pair of elements.

See Also

Comparing Matrices

func SCNMatrix4IsIdentity(SCNMatrix4) -> Bool

Returns a Boolean value that indicates whether the specified matrix is equal to the identity matrix.