VIS_LayerToggle

Category: Objects / Visibility
Since engine version: 4.9.7.0 CR

Description

Constant for GetVisibility/SetVisibility. The visibility depends on the visibility of the layer object: If the layer object has VIS_LayerToggle visibility the object will be invisible if the layer object is visible. If, on the other hand, the layer object is invisible the object's visibility is unchanged.

Syntax

int VIS_LayerToggle ();

Remark

This value is also defined as a constant. Thus the parameter brackets can be omitted.
See also: GetVisibility, SetVisibility, VIS_All, VIS_Allies, VIS_Enemies, VIS_God, VIS_None, VIS_OverlayOnly, VIS_Owner
Fulgen / Clonk Wiki, Juli 2016