Procedure SetLightFalloff sets the fall off attributes for the referenced light object.
Table - Light Falloff Types
| Falloff Type | Constant |
|---|---|
| None | 0 |
| Normal | 1 |
| Smooth | 2 |
| Sharp | 3 |
PROCEDURE SetLightFalloff(
light : HANDLE;
distFalloff : INTEGER;
angFalloff : INTEGER);def vs.SetLightFalloff(light, distFalloff, angFalloff):
return None| Name | Type | Description |
|---|---|---|
| light | HANDLE | Handle to light. |
| distFalloff | INTEGER | Distance falloff value. |
| angFalloff | INTEGER | Angular falloff value. |
Sets the falloff functions for the light. 0 = None, 1 = Normal, 2 = Smooth, 3 = Sharp (angular falloff only).
Availability: from MiniCAD 7.0.1