Initial project import
This commit is contained in:
24
node_modules/three-stdlib/webxr/XRHandPrimitiveModel.d.ts
generated
vendored
Normal file
24
node_modules/three-stdlib/webxr/XRHandPrimitiveModel.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import { Group, Texture } from 'three'
|
||||
|
||||
import { XRHandModel, XRHandModelHandedness } from './XRHandModelFactory'
|
||||
|
||||
export interface XRHandPrimitiveModelOptions {
|
||||
primitive?: 'sphere' | 'box' | undefined
|
||||
}
|
||||
|
||||
export class XRHandPrimitiveModel {
|
||||
controller: Group
|
||||
handModel: XRHandModel
|
||||
envMap: Texture | null
|
||||
handMesh: Group
|
||||
|
||||
constructor(
|
||||
handModel: XRHandModel,
|
||||
controller: Group,
|
||||
path: string,
|
||||
handedness: XRHandModelHandedness,
|
||||
options: XRHandPrimitiveModelOptions,
|
||||
)
|
||||
|
||||
updateMesh: () => void
|
||||
}
|
||||
Reference in New Issue
Block a user