Interface ISkeletonViewerDisplayOptions
interface ISkeletonViewerDisplayOptions {
localAxesSize?: number;
midStep?: number;
midStepFactor?: number;
showLocalAxes?: boolean;
sphereBaseSize?: number;
sphereFactor?: number;
sphereScaleUnit?: number;
spurFollowsChild?: boolean;
}
localAxesSize?: number;
midStep?: number;
midStepFactor?: number;
showLocalAxes?: boolean;
sphereBaseSize?: number;
sphereFactor?: number;
sphereScaleUnit?: number;
spurFollowsChild?: boolean;
}
Properties
Optionallocal Axes Size
localAxesSize?: number
Length of each local axis
Optionalmid Step
midStep?: number
How far down to start tapering the bone spurs
Optionalmid Step Factor
midStepFactor?: number
How big is the midStep?
Optionalshow Local Axes
showLocalAxes?: boolean
Whether to show local axes or not
Optionalsphere Base Size
sphereBaseSize?: number
Base for the Sphere Size
Optionalsphere Factor
sphereFactor?: number
Ratio for the Sphere Size
Optionalsphere Scale Unit
sphereScaleUnit?: number
The ratio of the sphere to the longest bone in units
Optionalspur Follows Child
spurFollowsChild?: boolean
Whether a spur should attach its far end to the child bone position
Defines how to display the various bone meshes for the viewer.