setLightConePars: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 26: | Line 26: | ||
|x1= <code>_light [[setLightConePars]] [90, 45, 1];</code> | |x1= <code>_light [[setLightConePars]] [90, 45, 1];</code> | ||
|seealso= [[setLightColor]] [[setLightAmbient]] [[setLightBrightness]] [[lightAttachObject]] | |seealso= [[setLightColor]] [[setLightAmbient]] [[setLightBrightness]] [[lightAttachObject]] [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]], [[setLightIR]] | ||
}} | }} |
Revision as of 18:09, 20 January 2022
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 lightDetachObjectsetLightIntensitysetLightAttenuationsetLightUseFlaresetLightFlareSizesetLightFlareMaxDistancesetLightDayLightsetLightIR
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