Class Stage

By extending this class, you can make your components keep their own state and animation.

Demo: https://kokomi-js.vercel.app/examples/#component

Hierarchy (view full)

Constructors

Properties

ambientLight: AmbientLight
base: Base
center: Center
contactShadows?: null | ContactShadows
container: Scene
emitter: Emitter<any>
group: Group<Object3DEventMap>
pointLight: PointLight
presetData: PresetItem
shadow: boolean | "contact"
spotLight: SpotLight

Methods

  • Parameters

    • Rest...object: Object3D<Object3DEventMap>[]

    Returns void