@animech-public/playcanvas
Version:
PlayCanvas WebGL game engine
26 lines (24 loc) • 394 B
JavaScript
class XrFinger {
constructor(index, hand) {
this._index = void 0;
this._hand = void 0;
this._joints = [];
this._tip = null;
this._index = index;
this._hand = hand;
this._hand._fingers.push(this);
}
get index() {
return this._index;
}
get hand() {
return this._hand;
}
get joints() {
return this._joints;
}
get tip() {
return this._tip;
}
}
export { XrFinger };