Skip to content

Configuration types ​

ModelTransformConfig ​

ts
{ position: Vec3; rotation: Vec3; scale: Vec3 }

PivotConfig ​

ts
{
  point: Vec3
  visible: boolean
  helperSize: number
  helperColor: string
}

CameraConfig ​

ts
{
  position: Vec3
  target: Vec3
  fov: number
  near: number
  far: number
  autoRotate: boolean
  autoRotateSpeed: number
  damping: boolean
  minDistance: number
  maxDistance: number
}

SceneConfig ​

Includes background, environment preset, environment visibility/intensity, grid, axes, shadows, floor, exposure, and tone mapping.

LightConfig ​

Stores ambient intensity and key/fill intensity and positions.

AnimationConfig ​

Stores embedded clip name, play state, speed, and loop behavior.

VisualizationConfig ​

Stores bounding box and normal visibility, scope, length, and colors.

SequenceConfig ​

Stores timeline metadata and keyframes. See Sequence runtime.

Released under the MIT License.