UNPKG

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.

25 lines 1.02 kB
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 SkeletonHelper2 extends AHelperWidget { lineSegments: LineSegments2; bones: Bone[]; object: (Object3D & IUiConfigContainer) | undefined; private _vector; private _boneMatrix; private _matrixWorldInv; hMaterial: LineMaterial2; lineWidth: number; color1: Color; color2: Color; autoUpdate: boolean; constructor(object: Object3D, color1?: ColorRepresentation, color2?: ColorRepresentation); updateMatrixWorld(force?: boolean): void; update(setDirty?: boolean): void; dispose(): void; static Check(object: Object3D): boolean; static Create(object: Object3D): SkeletonHelper2; } //# sourceMappingURL=../../src/three/widgets/SkeletonHelper2.d.ts.map