Skip to main content
Skip to main content

getLightSoftShadowDistance

getLightSoftShadowDistance

Description

Gets soft shadow light distance for directional lights (it's fake, fixed distance from each pixel). Ignored by spot lights (though it will still return a value)

Definition

getLightSoftShadowDistance(entityId lightId)

Arguments

entityIdlightIdid of the light source

Return Values

floatsoftShadowDistancelight distance used for the soft shadow