Constants Class Reference

The JavaScript class for getting the constant colour and palette data. Obtain it from PaletteObjectManager. More...

Properties

PaletteLocation Location
 Holds the constants to represent a palette location. More...
 
ColorType ColorType
 Holds the constants to define the color types. More...
 
PaletteListType PaletteListType
 

Detailed Description

The JavaScript class for getting the constant colour and palette data. Obtain it from PaletteObjectManager.

How to retrieve the palette locations:

var envPath = PaletteObjectManager.Constants.Location.ENVIRONMENT;

How to get the colour type constants:

var solidColorType = PaletteObjectManager.Constants.ColorType.SOLID_COLOR;

How to get the palette list type constants:

var paletteListType = PaletteObjectManager.Constants.PaletteListType.Scene;

Property Documentation

◆ ColorType

ColorType Constants::ColorType
read

Holds the constants to define the color types.

◆ Location

PaletteLocation Constants::Location
read

Holds the constants to represent a palette location.

◆ PaletteListType

PaletteListType Constants::PaletteListType
read