API

Interface IBoneWeightShaderOptions

Defines the constructor options for the BoneWeight Shader.

interface IBoneWeightShaderOptions {
    colorBase?: Color3;
    colorFull?: Color3;
    colorHalf?: Color3;
    colorQuarter?: Color3;
    colorZero?: Color3;
    skeleton: Skeleton;
    targetBoneIndex?: number;
}
Index
colorBase?: Color3

Colors for Uninfluenced bones

colorFull?: Color3

Color for 0.75-1 Weight Influence

colorHalf?: Color3

Color for 0.5-0.75 Weight Influence

colorQuarter?: Color3

Color for 0.25-0.5 Weight Influence

colorZero?: Color3

Colors for 0.0-0.25 Weight bones

skeleton: Skeleton

Skeleton to Map

targetBoneIndex?: number

Color for Zero Weight Influence