setLightConePars

From Bohemia Interactive Community
Revision as of 14:23, 5 May 2022 by Lou Montana (talk | contribs) (Text replacement - "<code>([a-zA-Z0-9_, ]+) +\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
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:
setLightColor setLightAmbient setLightBrightness lightAttachObject lightDetachObject setLightIntensity setLightAttenuation setLightUseFlare setLightFlareSize setLightFlareMaxDistance setLightDayLight setLightIR

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