Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 1 - SoundSprocket / SoundSprocket Reference
SoundSprocket Functions / Creating and Managing Listeners


SSpListener_GetPosition

You can use the SSpListener_GetPosition function to get the position of a listener.

OSStatus SSpListener_GetPosition (
SSpListenerReference inListenerReference,
TQ3Point3D *outPosition);
inListenerReference
A listener reference.
outPosition
On exit, the most recent untransformed position of the listener.
function result
A result code.
DESCRIPTION
The SSpListener_GetPosition function returns, in the outPosition parameter, the most recent untransformed position of the listener specified by the inListenerReference parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996