API

Interface ISkeletonViewerOptions

Defines the options associated with the creation of a SkeletonViewer.

interface ISkeletonViewerOptions {
    computeBonesUsingShaders: boolean;
    displayMode: number;
    displayOptions: ISkeletonViewerDisplayOptions;
    pauseAnimations: boolean;
    returnToRest: boolean;
    useAllBones: boolean;
}
Index
computeBonesUsingShaders: boolean

Flag to toggle if the Viewer should use the CPU for animations or not?

displayMode: number

public Display Mode of the Viewer

Flag to toggle if the Viewer should use the CPU for animations or not?

pauseAnimations: boolean

Should the system pause animations before building the Viewer?

returnToRest: boolean

Should the system return the skeleton to rest before building?

useAllBones: boolean

Flag ignore non weighted bones