threepipe
Version:
A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.
24 lines • 967 B
TypeScript
import { Bone, Color, ColorRepresentation, Object3D } from 'three';
import { LineSegments2 } from 'three/examples/jsm/lines/LineSegments2.js';
import { AHelperWidget } from './AHelperWidget';
import { IUiConfigContainer } from 'uiconfig.js';
import { LineMaterial2 } from '../../core';
export declare class BoneHelper extends AHelperWidget {
lineSegments: LineSegments2;
object: (Bone & IUiConfigContainer) | undefined;
private _vector;
private _boneMatrix;
private _matrixWorldInv;
hMaterial: LineMaterial2;
lineWidth: number;
color1: Color;
color2: Color;
autoUpdate: boolean;
constructor(bone: Bone, color1?: ColorRepresentation, color2?: ColorRepresentation);
updateMatrixWorld(force?: boolean): void;
update(setDirty?: boolean): void;
dispose(): void;
static Check(object: Object3D): boolean;
static Create(bone: Bone): BoneHelper;
}
//# sourceMappingURL=../../src/three/widgets/BoneHelper.d.ts.map