Initial project import
This commit is contained in:
25
node_modules/three-stdlib/webxr/XRHandModelFactory.d.ts
generated
vendored
Normal file
25
node_modules/three-stdlib/webxr/XRHandModelFactory.d.ts
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
import { Group, Object3D } from 'three'
|
||||
|
||||
import { XRHandPrimitiveModel, XRHandPrimitiveModelOptions } from './XRHandPrimitiveModel'
|
||||
import { XRHandMeshModel } from './XRHandMeshModel'
|
||||
|
||||
export type XRHandModelHandedness = 'left' | 'right'
|
||||
|
||||
export class XRHandModel extends Object3D {
|
||||
constructor()
|
||||
|
||||
motionController: XRHandPrimitiveModel | XRHandMeshModel
|
||||
}
|
||||
|
||||
export class XRHandModelFactory {
|
||||
constructor()
|
||||
path: string
|
||||
|
||||
setPath(path: string): XRHandModelFactory
|
||||
|
||||
createHandModel(
|
||||
controller: Group,
|
||||
profile?: 'spheres' | 'boxes' | 'oculus',
|
||||
options?: XRHandPrimitiveModelOptions,
|
||||
): XRHandModel
|
||||
}
|
||||
Reference in New Issue
Block a user