Instance Property

worldSpaceDistance

The minimum distance from the current point of view for this level of detail to appear.

Declaration

@property(readonly) CGFloat worldSpaceDistance;

Discussion

When rendering a geometry with associated levels of detail, SceneKit calculates the distance from the current point of view to the geometry’s parent node, then renders the geometry for the SCNLevelOfDetail object with the largest distance parameter less than that distance.

See Also

Inspecting a Level of Detail

geometry

The geometry associated with this level of detail.

screenSpaceRadius

The maximum radius (in pixels) of the geometry’s bounding sphere for this level of detail to appear.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software