GBackSky

Category: Landscape / Material
Since engine version: 1.0 OC

Description

Checks whether there is sky at the specified position in the landscape.

Syntax

bool GBackSky(int x, int y);

Parameters

x:
X coordinate. Offset in local calls.
y:
Y coordinate. Offset in local calls.

Example

while(!obj->GBackSky()) obj->SetPosition(obj->GetX(),obj->GetY()-5);
Moves an object into fresh air.
See also: GBackLiquid, GBackSemiSolid, GBackSolid, GetMaterial
Günther, 2002-04