Edit

CustomTexture Interface

Properties

iconHeight

iconHeight: number;

The height of the icon, in relative units. Value must be between 0.0 and 1.0, inclusive.

Type: number

Notes:

  • This property has a bounds of [0, 1]

iconWidth

iconWidth: number;

The width of the icon, in relative units. Value must be between 0.0 and 1.0, inclusive.

Type: number

Notes:

  • This property has a bounds of [0, 1]

path

path: string;

The resource path to the custom texture. This should be a valid string path to a texture asset.

Type: string