Types
SlappyError = object of IOError
- Source Edit
Procs
proc coneInnerAngle(source: Source): float32 {....raises: [], tags: [], forbids: [].}
- Gets inner cone angle in degrees. Source Edit
proc coneInnerAngle=(source: Source; v: float32) {....raises: [], tags: [], forbids: [].}
- Inner angle of the sound cone, in degrees. Default is 360. Source Edit
proc coneOuterAngle(source: Source): float32 {....raises: [], tags: [], forbids: [].}
- Gets outer cone angle in degrees. Source Edit
proc coneOuterAngle=(source: Source; v: float32) {....raises: [], tags: [], forbids: [].}
- Outer angle of the sound cone, in degrees. Default is 360. Source Edit
proc coneOuterGain(source: Source): float32 {....raises: [], tags: [], forbids: [].}
- Gets source gain outside the cone. Source Edit
proc coneOuterGain=(source: Source; v: float32) {....raises: [], tags: [], forbids: [].}
- The gain when outside the oriented cone. Source Edit
proc halfDistance(source: Source): float32 {....raises: [], tags: [], forbids: [].}
- Gets reference distance for attenuation. Source Edit
proc halfDistance=(source: Source; v: float32) {....raises: [], tags: [], forbids: [].}
- The distance under which the volume for the source would normally drop by half (before being influenced by rolloff factor or maxDistance). Source Edit
proc maxDistance(source: Source): float32 {....raises: [], tags: [], forbids: [].}
- Gets max distance for attenuation. Source Edit
proc maxDistance=(source: Source; v: float32) {....raises: [], tags: [], forbids: [].}
- Set the Inverse Clamped Distance Model to set the distance where there will no longer be any attenuation of the source. Source Edit
proc pos(a: Mat4): Vec3 {.inline, ...raises: [], tags: [], forbids: [].}
- Returns the position extracted from a matrix. Source Edit
proc rolloffFactor(source: Source): float32 {....raises: [], tags: [], forbids: [].}
- Gets source rolloff factor. Source Edit
proc rolloffFactor=(source: Source; v: float32) {....raises: [], tags: [], forbids: [].}
- Set rolloff rate for the source. Default is 1.0. Source Edit
proc slappyClose() {....raises: [SlappyError], tags: [], forbids: [].}
- Call this on exit. Source Edit
proc slappyInit() {....raises: [SlappyError], tags: [], forbids: [].}
- Call this on start of your program. Source Edit
proc slappyTick() {....raises: [], tags: [], forbids: [].}
- Updates all sources and sounds. Source Edit