Class Center

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

back?: boolean
base: Base
bottom?: boolean
bound: null | {
    boundingBox: Box3;
    boundingSphere: Sphere;
    center: Vector3;
    depth: number;
    height: number;
    width: number;
}
container: Scene
disable?: boolean
disableX?: boolean
disableY?: boolean
disableZ?: boolean
emitter: Emitter<any>
front?: boolean
group: Group<Object3DEventMap>
groupInner: Group<Object3DEventMap>
groupOuter: Group<Object3DEventMap>
left?: boolean
precise?: boolean
right?: boolean
top?: boolean

Methods