Skip to content

readFramingDistance

readFramingDistance(camera, radius): number

Defined in: packages/engine/src/gameplay/camera/camera.ts:217

Metres back from a sphere’s centre that fit the whole sphere in the frame, on the narrower of the view’s two angles. A point has no radius, so it is framed as half a metre, which is close enough to see it.

Parameter Type
camera Camera
radius number

number