setDistortion

fun setDistortion(distortion: Distortion?): FilterBuilder

Sets the distortion filter on the player.

Return

The updated builder, useful for chaining

Parameters

distortion

The distortion filter to apply to the player. Set to null to disable the filter.