Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 1 - SoundSprocket / SoundSprocket Reference
SoundSprocket Functions / Creating and Managing 3D Sound Sources


SSpSource_SetTransform

You can use the SSpSource_SetTransform function to set the transform matrix of a sound source.

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


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996