UNPKG

mdx-m3-viewer

Version:

A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.

25 lines (24 loc) 744 B
import Bone from '../../../parsers/m3/bone'; import { Uint32AnimationReference, Vector3AnimationReference, Vector4AnimationReference } from '../../../parsers/m3/animationreference'; /** * An M3 bone. */ export default class M3Bone { name: string; parent: number; location: Vector3AnimationReference; rotation: Vector4AnimationReference; scale: Vector3AnimationReference; visibility: Uint32AnimationReference; inhertTranslation: number; inheritScale: number; inheritRotation: number; billboard1: number; billboard2: number; twoDProjection: number; animated: number; inverseKinematics: number; skinned: number; real: number; constructor(bone: Bone); }