Previous Book Contents Book Index Next

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


SSpListener_SetTransform

You can use the SSpListener_SetTransform function to set the transform matrix of a listener.

OSStatus SSpListener_SetTransform (
SSpListenerReference inListenerReference,
const TQ3Matrix4x4 *inTransform);
inListenerReference
A listener reference.
inTransform
A 4-by-4 matrix that specifies the transformation to be applied to the listener.
function result
A result code.
DESCRIPTION
The SSpListener_SetTransform function sets the transform matrix of the listener specified by the inListenerReference parameter to the matrix specified by the inTransform parameter. The default transform matrix for a listener is the identity matrix.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996