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_GetUpVector

You can use the SSpSource_GetUpVector function to get the up vector of a sound source.

OSStatus SSpSource_GetUpVector (
SSpSourceReference inSourceReference,
TQ3Vector3D *outUpVector);
inSourceReference
A source reference.
outUpVector
On exit, the untransformed up vector of the sound source.
function result
A result code.
DESCRIPTION
The SSpSource_GetUpVector function returns, in the outUpVector parameter, the untransformed up vector of the sound source specified by the inSourceReference parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996