Contents

project(_:)

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

Declaration

@MainActor @preconcurrency func project(_ point: SIMD3<Float>) -> CGPoint?

Parameters

  • point:

    The point in 3D world coordinates.

Return Value

A point in the view’s coordinate space.

See Also

Mapping between coordinate spaces