Tile - YEntity - Is Colorable – Ylands

From Bohemia Interactive Community
Revision as of 15:27, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.