Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

placeGroupFraming

placeGroupFraming(framing, options): GroupFramingEye

The eye a framing places and a point a metre ahead that it looks at, for camera-controls’ setLookAt: findGroupFraming’s result, or one the caller eased toward it.

Parameter Type
framing Pick<GroupFramingResult, "pitchRadians" | "shift" | "pull">
options Pick<GroupFramingOptions, "eye" | "heading" | "pitchRadians">

GroupFramingEye