Contents

convert(value:from:)

Converts a value from a source coordinate space to this one.

Declaration

func convert<T>(value: T, from targetCoordinateSpace: Self) throws -> T where T : ProjectiveTransformable3D

Parameters

  • value:

    The value the function converts between spaces given in reference to the sourceCoordinateSpace.

Return Value

The value converted from the source space to this one.