setLightVolumeShape: Difference between revisions
Killzone Kid (talk | contribs) No edit summary |
m (Fixed typo) |
||
| Line 10: | Line 10: | ||
|eff= local | |eff= local | ||
|descr= Sets the lightpoint (directional light {{hl|#lightreflector}})'s volume shape. An empty shape will | |descr= Sets the lightpoint (directional light {{hl|#lightreflector}})'s volume shape. An empty shape will switch the light off. | ||
|s1= lightReflector [[setLightVolumeShape]] [shapePath, scale] | |s1= lightReflector [[setLightVolumeShape]] [shapePath, scale] | ||
Latest revision as of 15:17, 4 November 2025
Description
- Description:
- Sets the lightpoint (directional light #lightreflector)'s volume shape. An empty shape will switch the light off.
- Groups:
- Lights
Syntax
- Syntax:
- lightReflector setLightVolumeShape [shapePath, scale]
- Parameters:
- lightReflector : Object - object of class #lightreflector)
- shapePath: String - "" to turn the light off
- scale: Array - [sizeX, sizeY, sizeZ]
- Return Value:
- Nothing
Examples
- Example 1:
- _light setLightVolumeShape ["a3\data_f\VolumeLightFlashlight.p3d", [1, 1, 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