DirectX Media for Animation Java Reference |
![]() Previous |
![]() Classes |
![]() Index |
![]() Next |
public interface BvrCallback extends java.lang.Object { public abstract Behavior notify(int id, boolean start, double startTime, double globalTime, double localTime, Behavior sampledValue, Behavior currentRunningBvr, BehaviorCtx ctx); }
public abstract Behavior notify(int id, boolean start, double startTime, double globalTime, double localTime, Behavior sampledValue, Behavior currentRunningBvr, BehaviorCtx ctx);Calls the notifier method of the object whenever the behavior is started or sampled.
Return Value:
Returns the Behavior object.
Parameter Description id Distinguishes one instance of a behavior from another. start Determines if the notifier method is called when the behavior starts or each time it is sampled. startTime The time the behavior was first run. globalTime The time the behavior was sampled, in global time. localTime The time the behavior was sampled, in local time. (If the behavior is sampled when it starts, this value is 0). sampledValue The value of the behavior at the time it was sampled. This value is wrapped as a constant behavior. currentRunningBvr The behavior that is currently running. ctx Contains state information (such as the view).
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.