123456789101112131415161718192021222324252627282930313233343536373839 |
- /**
- * Defines the options associated with the creation of a SkeletonViewer.
- */
- export interface ISkeletonViewerOptions{
- /** Should the system pause animations before building the Viewer? */
- pauseAnimations: boolean;
- /** Should the system return the skeleton to rest before building? */
- returnToRest: boolean;
- /** public Display Mode of the Viewer */
- displayMode: number;
- /** Flag to toggle if the Viewer should use the CPU for animations or not? */
- displayOptions : ISkeletonViewerDisplayOptions;
- /** Flag to toggle if the Viewer should use the CPU for animations or not? */
- computeBonesUsingShaders : boolean;
- }
- /**
- * Defines how to display the various bone meshes for the viewer.
- */
- export interface ISkeletonViewerDisplayOptions{
- /** How far down to start tapering the bone spurs */
- midStep? : number;
- /** How big is the midStep? */
- midStepFactor? : number;
- /** Base for the Sphere Size */
- sphereBaseSize? : number;
- /** The ratio of the sphere to the longest bone in units */
- sphereScaleUnit? : number;
- /** Ratio for the Sphere Size */
- sphereFactor? : number;
- }
|