Description
Sets the 1. lightreflector's volume shape. An empty shape will switch the light off.
Syntax
lightReflector setLightVolumeShape [shapePath, scale]
Parameters:
lightReflector: Object - object of class1. lightreflector)shapePath: String - "" to turn the light offscale: Array with [sizeX, sizeY, sizeZ]
Returns: Nothing
Examples
Example 1
_light setLightVolumeShape ["a3\data_f\VolumeLightFlashlight.p3d", [1, 1, 1]];
See also
setLightColor · setLightAmbient · setLightBrightness · lightAttachObject · lightDetachObject · setLightIntensity · setLightAttenuation · setLightUseFlare · setLightFlareSize · setLightFlareMaxDistance · setLightDayLight · setLightIR