SoundEffect

data class SoundEffect(val sound: Sound, val volume: Float = 0.4f, val pitch: Float = 1.0f)(source)

Constructors

Link copied to clipboard
constructor(sound: String, volume: Float = 0.4f, pitch: Float = 1.0f)
constructor(sound: Sound, volume: Float = 0.4f, pitch: Float = 1.0f)

Properties

Link copied to clipboard
val pitch: Float = 1.0f
Link copied to clipboard
val sound: Sound
Link copied to clipboard
val volume: Float = 0.4f