Tile - YEntity - Is Colorable – Ylands

From Bohemia Interactive Community
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.