spotLightCone

actual fun spotLightCone(inner: Float, outer: Float): LightManager.Builder

Define a spot light's angular falloff via inner and outer cones (half-angles in radians). Both angles are clamped to 0.00873, π/2 to avoid precision issues. Ignored for directional and point lights. For Type.FOCUSED_SPOT (physically correct), outer cone angle affects total illumination. For Type.SPOT, outer cone and illumination are decoupled (easier to tweak).

Return

This Builder

Parameters

inner

Inner cone angle in radians (0.00873-outer)

outer

Outer cone angle in radians (0.00873-π/2)

expect fun spotLightCone(inner: Float, outer: Float): LightManager.Builder

Define a spot light's angular falloff via inner and outer cones (half-angles in radians). Both angles are clamped to 0.00873, π/2 to avoid precision issues. Ignored for directional and point lights. For Type.FOCUSED_SPOT (physically correct), outer cone angle affects total illumination. For Type.SPOT, outer cone and illumination are decoupled (easier to tweak).

Return

This Builder

Parameters

inner

Inner cone angle in radians (0.00873-outer)

outer

Outer cone angle in radians (0.00873-π/2)

actual fun spotLightCone(inner: Float, outer: Float): LightManager.Builder

Define a spot light's angular falloff via inner and outer cones (half-angles in radians). Both angles are clamped to 0.00873, π/2 to avoid precision issues. Ignored for directional and point lights. For Type.FOCUSED_SPOT (physically correct), outer cone angle affects total illumination. For Type.SPOT, outer cone and illumination are decoupled (easier to tweak).

Return

This Builder

Parameters

inner

Inner cone angle in radians (0.00873-outer)

outer

Outer cone angle in radians (0.00873-π/2)

actual fun spotLightCone(inner: Float, outer: Float): LightManager.Builder

Define a spot light's angular falloff via inner and outer cones (half-angles in radians). Both angles are clamped to 0.00873, π/2 to avoid precision issues. Ignored for directional and point lights. For Type.FOCUSED_SPOT (physically correct), outer cone angle affects total illumination. For Type.SPOT, outer cone and illumination are decoupled (easier to tweak).

Return

This Builder

Parameters

inner

Inner cone angle in radians (0.00873-outer)

outer

Outer cone angle in radians (0.00873-π/2)

actual fun spotLightCone(inner: Float, outer: Float): LightManager.Builder

Define a spot light's angular falloff via inner and outer cones (half-angles in radians). Both angles are clamped to 0.00873, π/2 to avoid precision issues. Ignored for directional and point lights. For Type.FOCUSED_SPOT (physically correct), outer cone angle affects total illumination. For Type.SPOT, outer cone and illumination are decoupled (easier to tweak).

Return

This Builder

Parameters

inner

Inner cone angle in radians (0.00873-outer)

outer

Outer cone angle in radians (0.00873-π/2)