TQ3PickDetailMasks |
typedef enum TQ3PickDetailMasks {
kQ3PickDetailNone = 0,
kQ3PickDetailMaskPickID = (1 << 0),
kQ3PickDetailMaskPath = (1 << 1),
kQ3PickDetailMaskObject = (1 << 2),
kQ3PickDetailMaskLocalToWorldMatrix = (1 << 3),
kQ3PickDetailMaskXYZ = (1 << 4),
kQ3PickDetailMaskDistance = (1 << 5),
kQ3PickDetailMaskNormal = (1 << 6),
kQ3PickDetailMaskShapePart = (1 << 7),
kQ3PickDetailMaskPickPart = (1 << 8),
kQ3PickDetailMaskUV = (1 << 9),
kQ3PickDetailSize32 = 0xFFFFFFFF
} TQ3PickDetailMasks;
Bitfield indicating the type of data to be returned by picks.
- kQ3PickDetailNone
- No pick details are required.
- kQ3PickDetailMaskPickID
- The picking ID of the picked object.
- kQ3PickDetailMaskPath
- The path through the model hierarchy to the picked object.
- kQ3PickDetailMaskObject
- The picked object.
- kQ3PickDetailMaskLocalToWorldMatrix
- The local-to-world matrix for the picked object.
- kQ3PickDetailMaskXYZ
- The picked location in world coordinates.
- kQ3PickDetailMaskDistance
- The distance between the picked location and the pick origin.
- kQ3PickDetailMaskNormal
- The surface normal at the picked location.
- kQ3PickDetailMaskShapePart
- The shape part of the picked object.
- kQ3PickDetailMaskPickPart
- The picked object, edge, or vertex.
- kQ3PickDetailMaskUV
- The UV coordinate of the picked location.
TQ3PickSort |
typedef enum TQ3PickSort {
kQ3PickSortNone = 0,
kQ3PickSortNearToFar = 1,
kQ3PickSortFarToNear = 2,
kQ3PickSortSize32 = 0xFFFFFFFF
} TQ3PickSort;
The order in which pick results should be sorted.
- kQ3PickSortNone
- The pick hit list should not be sorted.
- kQ3PickSortNearToFar
- The pick hit list should be sorted from near to far.
- kQ3PickSortFarToNear
- The pick hit list should be sorted from far to near.
© 1999-2008 Quesa Developers (Last Updated 5/10/2008)