A list of all Actions, Conditions and Expressions supported in this addon.
General
-
Actions
Set enabled to {0}
Enable or disable the behavior.
Set LOD 1 distance to {0}
Set distance threshold for LOD 1.
Set LOD 2 distance to {0}
Set distance threshold for LOD 2.
Set LOD 3 distance to {0}
Set distance threshold for LOD 3.
Set hysteresis margin to {0}
Set the dead zone margin to prevent LOD flickering at boundaries.
Set shadow distance to {0}
Set the shadow disable distance.
Set camera object to {0}
Set the camera reference object name.
Set camera position to {0}, {1}, {2}
Manually set camera X/Y/Z each tick. Use with Player.X/Y/Z or Camera3D expressions.
Set auto-hide to {0}
Enable or disable auto-hide at LOD 3.
Set auto-disable shadows to {0}
Enable or disable shadow distance trigger.
Force LOD update
Immediately recalculate LOD, bypassing check interval.
-
Conditions
LOD Switcher is enabled
True when the behavior is enabled.
Is at {0}
True when at the specified LOD level.
On LOD level changed
Fires when LOD level changes.
On shadow state changed
Fires when crossing the shadow distance threshold.
Shadows are active
True when within the shadow distance.
-
Expressions
CurrentLOD
Current LOD level: 0=High, 1=Medium, 2=Low, 3=Hidden.
DistanceToCamera
Current 3D distance from object to camera reference.
LOD1Distance
LOD 1 distance threshold.
LOD2Distance
LOD 2 distance threshold.
LOD3Distance
LOD 3 distance threshold.
ShadowDistance
Shadow distance threshold.
CameraX
Last camera X used for distance calculation.
CameraY
Last camera Y used for distance calculation.
CameraZ
Last camera Z used for distance calculation.