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]] | |seealso= [[setLightColor]] [[setLightAmbient]] [[setLightBrightness]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]], [[setLightIR]] | ||
}} | }} |
Revision as of 17:53, 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 setLightBrightnesslightAttachObjectlightDetachObjectsetLightIntensitysetLightAttenuationsetLightUseFlaresetLightFlareSizesetLightFlareMaxDistancesetLightDayLightsetLightIR
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