Previous Book Contents Book Index Next

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


SSpListener_GetOrientation

You can use the SSpListener_GetOrientation function to get the orientation of a listener.

OSStatus SSpListener_GetOrientation (
SSpListenerReference inListenerReference,
TQ3Vector3D *outOrientation);
inListenerReference
A listener reference.
outOrientation
On exit, the untransformed orientation of the listener.
function result
A result code.
DESCRIPTION
The SSpListener_GetOrientation function returns, in the outOrientation parameter, the untransformed orientation of the listener specified by the inListenerReference parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996