shadow

The shadow model or decal, for stencil or decal shadows. If this pointer is set to a model or sprite entity, its mesh or image is used for the shadow.

Type:

ENTITY*

Remarks:

Edition:

A7.66  C   LC 

Example (lite-C):

ENTITY* ent_carshadow = { type = "car_shadow.tga"; }

action race_car()
{ ... set(my,SHADOW); my.shadow = ent_carshadow; // car-shaped shadow sprite ...

See also:

shadow_stencil, SHADOW

► latest version online