Contents

project(point:to:)

Projects a point from the 3D world coordinate system of the scene to the 2D pixel coordinate system of the reality view.

Declaration

func project(point: SIMD3<Float>, to space: some CoordinateSpaceProtocol) -> CGPoint?

Parameters

  • point:

    The point in 3D world coordinates.

  • space:

    The 2D coordinate space in which this function returns the point.

Return Value

A point in the provided coordinate space.