Oolite 1.91.0.7645-241119-222d325
|
#include <OOSoundSource.h>
Instance Methods | |
(id) | - initWithSound: |
(OOSound *) | - sound |
(void) | - setSound: |
(BOOL) | - loop |
(void) | - setLoop: |
(uint8_t) | - repeatCount |
(void) | - setRepeatCount: |
(BOOL) | - isPlaying |
(void) | - play |
(void) | - playOrRepeat |
(void) | - stop |
(void) | - playSound: |
(void) | - playSound:repeatCount: |
(void) | - playOrRepeatSound: |
(void) | - setPositional: |
(BOOL) | - positional |
(void) | - setPosition: |
(Vector) | - position |
(void) | - setGain: |
(float) | - gain |
(void) | - setVelocity: |
(void) | - setOrientation: |
(void) | - setConeAngle: |
(void) | - setGainInsideCone:outsideCone: |
(void) | - positionRelativeTo: |
(id) | - init [implementation] |
(void) | - dealloc [implementation] |
(NSString *) | - descriptionComponents [implementation] |
(void) | - channel:didFinishPlayingSound: [implementation] |
(id) | - initWithCustomSoundKey: |
(void) | - playCustomSoundWithKey: |
(jsval) | - oo_jsValueInContext: [implementation] |
(NSString *) | - oo_jsClassName [implementation] |
Class Methods | |
(instancetype) | + sourceWithSound: |
(void) | + stopAll |
(id) | + sourceWithCustomSoundKey: |
Private Attributes | |
OOSound * | _sound |
OOSoundChannel * | _channel |
BOOL | _loop |
uint8_t | _repeatCount |
uint8_t | _remainingCount |
Vector | _position |
BOOL | _positional |
float | _gain |
Definition at line 43 of file OOSoundSource.h.
|
implementation |
Definition at line 32 of file OOSoundSource.m.
|
implementation |
Definition at line 32 of file OOSoundSource.m.
|
implementation |
Definition at line 32 of file OOSoundSource.m.
- (float) gain |
Definition at line 32 of file OOSoundSource.m.
|
implementation |
Definition at line 32 of file OOSoundSource.m.
- (id) initWithCustomSoundKey: | (NSString *) | key |
Provided by category OOSoundSource(OOCustomSounds).
Definition at line 10697 of file Universe.m.
- (id) initWithSound: | (OOSound *) | inSound |
Definition at line 32 of file OOSoundSource.m.
- (BOOL) isPlaying |
Definition at line 32 of file OOSoundSource.m.
- (BOOL) loop |
Definition at line 32 of file OOSoundSource.m.
|
implementation |
Provided by category OOSoundSource(OOJavaScriptExtentions).
Definition at line 309 of file OOJSSoundSource.m.
|
implementation |
Provided by category OOSoundSource(OOJavaScriptExtentions).
Definition at line 309 of file OOJSSoundSource.m.
- (void) play |
Definition at line 32 of file OOSoundSource.m.
Referenced by SoundSourcePlay().
- (void) playCustomSoundWithKey: | (NSString *) | key |
Provided by category OOSoundSource(OOCustomSounds).
Definition at line 10697 of file Universe.m.
- (void) playOrRepeat |
Definition at line 32 of file OOSoundSource.m.
Referenced by OOSoundSource(OOJavaScriptExtentions)::oo_jsClassName.
- (void) playOrRepeatSound: | (OOSound *) | inSound |
Definition at line 32 of file OOSoundSource.m.
- (void) playSound: | (OOSound *) | inSound |
Definition at line 32 of file OOSoundSource.m.
Referenced by OOTrumble::actionBlink, and PlayTrumbleIdle().
- (void) playSound: | (OOSound *) | inSound | |
repeatCount: | (uint8_t) | inCount |
Definition at line 32 of file OOSoundSource.m.
- (Vector) position |
Definition at line 32 of file OOSoundSource.m.
- (BOOL) positional |
Definition at line 32 of file OOSoundSource.m.
- (void) positionRelativeTo: | (OOSoundReferencePoint *) | inPoint |
Definition at line 32 of file OOSoundSource.m.
- (uint8_t) repeatCount |
Definition at line 32 of file OOSoundSource.m.
- (void) setConeAngle: | (float) | inAngle |
Definition at line 32 of file OOSoundSource.m.
- (void) setGain: | (float) | gain |
Definition at line 32 of file OOSoundSource.m.
Referenced by SoundSourceSetProperty().
- (void) setGainInsideCone: | (float) | inInside | |
outsideCone: | (float) | inOutside |
Definition at line 32 of file OOSoundSource.m.
- (void) setLoop: | (BOOL) | inLoop |
Definition at line 32 of file OOSoundSource.m.
Referenced by SoundSourceSetProperty().
- (void) setOrientation: | (Vector) | inOrientation |
Definition at line 32 of file OOSoundSource.m.
- (void) setPosition: | (Vector) | inPosition |
Definition at line 32 of file OOSoundSource.m.
Referenced by OOTrumble::actionBlink, PlayTrumbleIdle(), and SoundSourceSetProperty().
- (void) setPositional: | (BOOL) | inPositional |
Definition at line 32 of file OOSoundSource.m.
Referenced by SoundSourceSetProperty().
- (void) setRepeatCount: | (uint8_t) | inCount |
Definition at line 32 of file OOSoundSource.m.
Referenced by SoundSourcePlay(), and SoundSourceSetProperty().
- (void) setSound: | (OOSound *) | inSound |
Definition at line 32 of file OOSoundSource.m.
Referenced by SoundSourceSetProperty().
- (void) setVelocity: | (Vector) | inVelocity |
Definition at line 32 of file OOSoundSource.m.
- (OOSound *) sound |
Definition at line 32 of file OOSoundSource.m.
+ (id) sourceWithCustomSoundKey: | (NSString *) | key |
Provided by category OOSoundSource(OOCustomSounds).
Definition at line 10697 of file Universe.m.
+ (instancetype) sourceWithSound: | (OOSound *) | inSound |
Definition at line 32 of file OOSoundSource.m.
- (void) stop |
Definition at line 32 of file OOSoundSource.m.
Referenced by SoundSourceStop().
+ (void) stopAll |
Definition at line 32 of file OOSoundSource.m.
|
private |
Definition at line 47 of file OOSoundSource.h.
|
private |
Definition at line 53 of file OOSoundSource.h.
|
private |
Definition at line 48 of file OOSoundSource.h.
|
private |
Definition at line 51 of file OOSoundSource.h.
|
private |
Definition at line 52 of file OOSoundSource.h.
|
private |
Definition at line 50 of file OOSoundSource.h.
|
private |
Definition at line 49 of file OOSoundSource.h.
|
private |
Definition at line 46 of file OOSoundSource.h.