SSpListener_SetCameraPlacement
You can use theSSpListener_SetCameraPlacementfunction to set the position, orientation, and up vector of a listener.
OSStatus SSpListener_SetCameraPlacement ( SSpListenerReference inListenerReference, const TQ3CameraPlacement *inCameraPlacement);
inListenerReference- A listener reference.
inCameraPlacement- A pointer to a camera placement structure that specifies the desired position, orientation, and up vector of the listener.
- function result
- A result code.
DESCRIPTION
TheSSpListener_SetCameraPlacementfunction sets the position, orientation, and up vector of the listener specified by theinListenerReferenceparameter 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 callingSSpListener_SetCameraPlacement, you could callSSpListener_SetPosition,SSpListener_SetOrientation, andSSpListener_SetUpVector.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help