Contents

SCNMatrix4IsIdentity(_:)

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

Declaration

func SCNMatrix4IsIdentity(_ m: SCNMatrix4) -> Bool
func SCNMatrix4IsIdentity(_ m: SCNMatrix4) -> Bool

Parameters

  • m:

    The matrix to be tested.

Return Value

True if the elements on the matrix’s diagonal are 1.0 and all other elements are 0.0.

See Also

Related Documentation

Comparing Matrices