Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:3.2

Description

Description:Returns the type of the given light object.

Syntax

Syntax:getLightType light
Parameters:
  • light: Object - Light object to check.
Return Value:Number - 0: lightpoint (radial illumination), 1: spotlight (directional illumination).

Examples

Examples:
_type = getLightType _light1

Additional Information

See also: setLightType
Multiplayer: 
Problems: 

Notes