Important: The information in this document is obsolete and should not be used for new development.
QTVR has the concept of view states for object movies depending on the mouse button. These are alternate images that are displayed depending on the state of the mouse button.
The following actions and operands provide control of the view state:
kActionQTVRSetViewState = 4109, /* long viewStateType, short state */ |
Sets the object node's state type to the new state value.
kOperandQTVRViewStateCount = 4103, |
Gets the count of view states for an object node.
kOperandQTVRViewState = 4104, /* long viewStateType */ |
Gets the value of a view state.
The valid view state types are defined as follows:
typedef UInt32 QTVRViewStateType; |
enum { |
kQTVRDefault = 0, |
kQTVRCurrent = 2, |
kQTVRMouseDown = 3 |
}; |
Last updated: 2002-07-01