- Properties related to the
Sound module.
Static variables
@:value(new Property("gain"))staticread onlygain:Property<Float> = new Property("gain")
- The gain on the sound-component. Note that gain is in linear scale, between
0 and 1.
@:value(new Property("pan"))staticread onlypan:Property<Float> = new Property("pan")
- The pan on the sound-component. The valid range is from
-1.0 to 1.0, representing -45 degrees left, to +45 degrees right.
@:value(new Property("sound"))staticread onlysound:Property<Hash> = new Property("sound")
- The sound data used when playing the sound.
@:value(new Property("speed"))staticread onlyspeed:Property<Float> = new Property("speed")
- The speed on the sound-component where
1.0 is normal speed, 0.5 is half speed and 2.0 is double speed.