Used in conjunction with AndEvent and DAPickableResult. The AndEvent function creates a third event from two simultaneously occurring events. It returns a DAPair whose first member is the event data returned by the first event and whose second member is the data returned by the second event. The DAPickableResults object contains a DAEvent that is a DAPair whose first member is the point of intersection and whose second member is a vector that is perpendicular to the surface. Note that, unlike arrays, a DAPair can contain two objects of different types.
DAPair Properties
First A read-only property with a DABehavior value that is the first object of the DAPair. Second A read-only property with a DABehavior value that is the second object of the DAPair.
A read-only property with a DABehavior value that is the first object of the DAPair.
Syntax
pairObj.First
A read-only property with a DABehavior value that is the second object of the DAPair.
Syntax
pairObj.Second
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.