Skip to main content

AssetParseDefaultColor

Callable

  • AssetParseDefaultColor(colorableLayerCount: number, fillValue: string, color?: string | readonly string[]): string[]

  • Convert AssetDefinition default color into a Asset default color list


    Parameters

    • colorableLayerCount: number

      The number of colorable layers

    • fillValue: string

      The default color. Usually "Default" though skin colors can also be supplied on occasion.

    • optionalcolor: string | readonly string[]

      See AssetDefinition.DefaultColor

    Returns string[]