Previous Book Contents Book Index Next

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


SSpListener_GetTransform

You can use the SSpListener_GetTransform function to get the transform matrix of a listener.

OSStatus SSpListener_GetTransform (
SSpListenerReference inListenerReference,
TQ3Matrix4x4 *outTransform);
inListenerReference
A listener reference.
outTransform
On exit, a 4-by-4 matrix that specifies the current transformation to be applied to the listener.
function result
A result code.
DESCRIPTION
The SSpListener_GetTransform function returns, in the outTransform parameter, a 4-by-4 matrix that specifies the current transformation to be applied to the position, velocity, orientation, and up vector of the listener specified by the inListenerReference parameter.

SEE ALSO
See 3D Graphics Programming With QuickDraw 3D for a description of the TQ3Matrix4x4 data type.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996