DepthOfFieldEffect
Handles interpolation of depth of field, which is tricky due to how Roblox implemented the shader and how it interacts with other depth of field effects.
Functions
SetFocusDistanceTarget
DepthOfFieldEffect.SetFocusDistanceTarget() → ()Sets the target depth of field distance
SetInFocusRadiusTarget
DepthOfFieldEffect.SetInFocusRadiusTarget() → ()Sets the target depth of field radius
SetNearIntensityTarget
DepthOfFieldEffect.SetNearIntensityTarget() → ()Sets the near intensity target
SetFarIntensityTarget
DepthOfFieldEffect.SetFarIntensityTarget() → ()Sets the far intensity target
GetFocusDistanceTarget
Retrieves the distance target
GetInFocusRadiusTarget
Retrieves the radius target
GetNearIntensityTarget
Retrieve the near intensity target