setLightConePars

From Bohemia Interactive Community
Revision as of 11:45, 4 November 2021 by POLPOX (talk | contribs) (Added example)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Sets the lightpoint (directional light #lightreflector)'s cone params.
Groups:
Lights

Syntax

Syntax:
lightReflector setLightConePars [outerAngle, innerAngle, fadeCoef]
Parameters:
lightReflector : Object - Object of class #lightreflector)
outerAngle: Number
innerAngle: Number
fadeCoef: Number
Return Value:
Nothing

Examples

Example 1:
_light setLightConePars [90, 45, 1];

Additional Information

See also:
setLightColorsetLightAmbientsetLightBrightnesslightAttachObjectlightDetachObjectsetLightIntensitysetLightAttenuationsetLightUseFlaresetLightFlareSizesetLightFlareMaxDistancesetLightDayLightsetLightIR

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note