matrix_float4x4

extension matrix_float4x4

Untility functions to matrix_float4x4

  • Calculate position vector of a pose matrix

    Declaration

    Swift

    public func position() -> SCNVector3

    Return Value

    A SCNVector3 from the translation components of the matrix