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_GetTransform

You can use the SSpSource_GetTransform function to get the transform matrix of a sound source.

OSStatus SSpSource_GetTransform (
SSpSourceReference inSourceReference,
TQ3Matrix4x4 *outTransform);
inSourceReference
A source reference.
outTransform
On exit, a 4-by-4 matrix that specifies the current transformation to be applied to the sound source.
function result
A result code.
DESCRIPTION
The SSpSource_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 sound source specified by the inSourceReference 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