Most visited

Recently visited

SpatialSound.Rolloff

public static final enum SpatialSound.Rolloff
extends Enum<SpatialSound.Rolloff>

java.lang.Object
   ↳ java.lang.Enum<com.viro.core.SpatialSound.Rolloff>
     ↳ com.viro.core.SpatialSound.Rolloff


The attenuation function that determines how the volume of the SpatialSound changes with distance from the sound's position.

Summary

Enum values

SpatialSound.Rolloff  LINEAR

The volume of the SpatialSound drops off linearly with distance. 

SpatialSound.Rolloff  LOGARITHMIC

The volume of the SpatialSound drops off logarithmically with distance. 

SpatialSound.Rolloff  NONE

The SpatialSound will not attenuate at any distance. 

Public methods

static SpatialSound.Rolloff valueOf(String name)
static final Rolloff[] values()

Enum values

LINEAR

SpatialSound.Rolloff LINEAR

The volume of the SpatialSound drops off linearly with distance.

LOGARITHMIC

SpatialSound.Rolloff LOGARITHMIC

The volume of the SpatialSound drops off logarithmically with distance.

NONE

SpatialSound.Rolloff NONE

The SpatialSound will not attenuate at any distance.

Public methods

valueOf

SpatialSound.Rolloff valueOf (String name)

Parameters
name String

Returns
SpatialSound.Rolloff

values

Rolloff[] values ()

Returns
Rolloff[]

Hooray!