DAPair Class

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

FirstA read-only property with a DABehavior value that is the first object of the DAPair.
SecondA read-only property with a DABehavior value that is the second object of the DAPair.

First

DAPair Class

A read-only property with a DABehavior value that is the first object of the DAPair.

Syntax

pairObj.First

Second

DAPair Class

A read-only property with a DABehavior value that is the second object of the DAPair.

Syntax

pairObj.Second


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.