setLightConePars: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |game1= arma3 |version1= 2.06 |branch= dev " to " |game1= arma3 |version1= 2.06 ") |
(Added example) |
||
Line 23: | Line 23: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>_light [[setLightConePars]] [90, 45, 1];</code> | |||
|seealso= [[setLightColor]], [[setLightAmbient]], [[setLightBrightness]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]], [[setLightIR]] | |seealso= [[setLightColor]], [[setLightAmbient]], [[setLightBrightness]], [[lightAttachObject]], [[lightDetachObject]], [[setLightIntensity]], [[setLightAttenuation]], [[setLightUseFlare]], [[setLightFlareSize]], [[setLightFlareMaxDistance]], [[setLightDayLight]], [[setLightIR]] | ||
}} | }} |
Revision as of 10:45, 4 November 2021
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