Tile - YEntity - Is Colorable – Ylands

From Bohemia Interactive Community
Revision as of 11:16, 12 November 2021 by YlandsClassyBot (talk | contribs)
Jump to navigation Jump to search

Is Colorable(Entity, Color id)

YlandsTile-1008.png

isColorable(colorId: number): boolean;

Parameters

colorId

Target entity color channel ID

Returns

boolean

Availability

Client, Server

Description

Returns whenever selected color channel of target entity can be changed.

Notes

  • Alpha of the color governs the emissivity of the material.