SSpSource_SetCameraPlacement
You can use theSSpSource_SetCameraPlacementfunction to set the position, orientation, and up vector of a sound source.
OSStatus SSpSource_SetCameraPlacement ( SSpSourceReference inSourceReference, const TQ3CameraPlacement *inCameraPlacement);
inSourceReference- A source reference.
inCameraPlacement- A pointer to a camera placement structure that specifies the desired position, orientation, and up vector of the sound source.
- function result
- A result code.
DESCRIPTION
TheSSpSource_SetCameraPlacementfunction sets the position, orientation, and up vector of the sound source specified by theinSourceReferenceparameter to the values contained in the camera placement structure pointed to by theinCameraPlacementparameter. This function is provided as a convenient method for setting that information in a single function call.
- Note
- The
TQ3CameraPlacementdata type is defined by QuickDraw 3D. See 3D Graphics Programming With QuickDraw 3D for details.![]()
SEE ALSO
Instead of callingSSpSource_SetCameraPlacement, you could callSSpSource_SetPosition,SSpSource_SetOrientation, andSSpSource_SetUpVector.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help