DirectX Media for Animation Java Reference |
![]() Previous |
![]() Classes |
![]() Index |
![]() Next |
public class TupleBvr extends Behavior //Constructor public TupleBvr(Behavior[] tuple); //Methods public Behavior nth(int i); public void pairBvr(Behavior first, Behavior second); public void tripleBvr(Behavior first, Behavior second, Behavior third);
A TupleBvr object is similar to an array. It can, however, accept heterogeneous types. The two methods included in this class are convenience utilities. Any number of members can be included in a TupleBvr object.
public TupleBvr(Behavior []);Constructs the TupleBvr object.
Parameter Description tuple The behaviors to be included in the TupleBvr.
public Behavior nth(int i);Selects a Behavior object based on the value of i.
Parameter Description i The index into the TupleBvr object. Note that this is not a time-varying index.
public void pairBvr(Behavior first, Behavior second);A convenience utility for creating a TupleBvr object with two members.
Parameter Description first The first Behavior object in the TupleBvr. second The second Behavior object in the TupleBvr.
public void tripleBvr(Behavior first, Behavior second, Behavior third);A convenience utility for creating a TupleBvr object with three members.
Parameter Description first The first Behavior object in the TupleBvr. second The second Behavior object in the TupleBvr. third The third Behavior object in the TupleBvr.
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.