@types/three
Version:
TypeScript definitions for three
25 lines (19 loc) • 578 B
TypeScript
import { Group, Texture } from "three";
import { XRHandModel, XRHandModelHandedness } from "./XRHandModelFactory.js";
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;
}