Skip to content

luxe: system/sound.modifier


import "luxe: system/sound.modifier" for Data

no docs found

var source : Asset = null
var bus : Asset = null
var volume : Num = -1
var pan : Num = 0
var pitch : Num = 1
var looping : Bool = false
var world_space : Bool = false
var debug_draw : Bool = true
var attenuation : SoundAttenuation = SoundAttenuation.none
var range : Float2 = [1, 10]
var rolloff : Num = 1
var simulate_doppler : Bool = false
var doppler_factor : Num = 1
import "luxe: system/sound.modifier" for Sound

no docs found

import "luxe: system/sound.modifier" for SoundAttenuation

no docs found

SoundAttenuation.none : unknown

no docs found

SoundAttenuation.inverse_distance : unknown

no docs found

SoundAttenuation.linear_distance : unknown

no docs found

SoundAttenuation.exponential_distance : unknown

no docs found

import "luxe: system/sound.modifier" for System

no docs found

var draw : Draw = null
var style : null = PathStyle.new
var last_pos : Map = {}

System.new(world : World) : System

no docs found

System.init(world : World) : unknown

no docs found

System.editor_init(world : World) : unknown

no docs found

System.attach(entity : Entity, data : Data) : unknown

no docs found

System.detach(entity : Entity, data : Data) : unknown

no docs found

System.get_attenuation(attn : SoundAttenuation) : AudioAttenuation

no docs found

System.tick(delta : Num) : unknown

no docs found

System.draw(entity : Entity, data : Data) : unknown

no docs found

System.editor_change(entity : Entity, change : ModifierChange) : unknown

no docs found

System.editor_tick(delta : Num) : unknown

no docs found