@pixiv/three-vrm
Version:
VRM file loader for three.js.
16 lines (15 loc) • 566 B
TypeScript
import * as THREE from 'three';
/**
* ColliderMesh, is actually just a `THREE.Mesh`.
* Its radius and world position will be used for collisions.
*/
export declare type VRMSpringBoneColliderMesh = THREE.Mesh;
/**
* A group of colliders, equivalents to an element of `colliderGroups` field of VRM schema.
*
* @see https://github.com/vrm-c/UniVRM/blob/master/specification/0.0/schema/vrm.secondaryanimation.collidergroup.schema.json
*/
export interface VRMSpringBoneColliderGroup {
node: number;
colliders: VRMSpringBoneColliderMesh[];
}