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


Introduced in

Version:3.2

Description

Description:Returns the properties of the given spotlight cone (the angle of the illuminated area - see setLightFrustum for details).

Syntax

Syntax:getLightFrustum light
Parameters:
  • light: Object - Spotlight cone.
Return Value:Array - [outer, inner] - Angles at which the light spreads out and closes in.

Examples

Examples:
_angles = getLightFrustum light 

Additional Information

See also: setLightFrustum
Multiplayer: 
Problems: 

Notes