Public Member Functions | Public Attributes

TrackHitRecord Class Reference

Search for all occurrences

Detailed Description

See also:
Class Animatable
Description:
When hit testing is done, this class has data members used to identify the key that was hit. The manner these are used is up to the developer. For example, the hit member may be used as an index into the table of keys. If a developer needed additional information, the flags could be used. The system does not use these itself - the developer just needs to establish a consistent way to recognize its own keys and tag them as hit.

There is a typedef that defines a table of these TrackHitRecords. It is defined as:

typedef Tab<TrackHitRecord> TrackHitTab;

#include <TrackHitRecord.h>

Inheritance diagram for TrackHitRecord:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  TrackHitRecord (DWORD h=0, DWORD f=0)

Public Attributes

DWORD  hit
DWORD  flags

Constructor & Destructor Documentation

TrackHitRecord ( DWORD  h = 0,
DWORD  f = 0 
) [inline]
Remarks:
Constructor. The data members are initialized to the values passed.
{hit=h;flags=f;}

Member Data Documentation

DWORD hit
DWORD flags

TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord
TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord TrackHitRecord