SCNMatrix4IsIdentity(_:)
Returns a Boolean value that indicates whether the specified matrix is equal to the identity matrix.
Declaration
func SCNMatrix4IsIdentity(_ m: SCNMatrix4) -> Boolfunc SCNMatrix4IsIdentity(_ m: SCNMatrix4) -> BoolParameters
- 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.