API

Interface ISkeletonMapShaderOptions

Defines the constructor options for the SkeletonMap Shader.

interface ISkeletonMapShaderOptions {
    colorMap?: ISkeletonMapShaderColorMapKnot[];
    skeleton: Skeleton;
}
Index

Array of ColorMapKnots that make the gradient must be ordered with knot[i].location < knot[i+1].location

skeleton: Skeleton

Skeleton to Map