quicktime.vr
Interface QTVRLeavingNode


public interface QTVRLeavingNode

This interface is defined by an application to receive and process interactions with a VR movie's nodes

See Also:
QTVRInstance

Method Summary
 int execute(QTVRInstance vr, int fromNodeID, int toNodeID, boolean[] cancel)
          This method is called by MoviesTask when a user is leaving a node in a VR movie.
 

Method Detail

execute

public int execute(QTVRInstance vr,
                   int fromNodeID,
                   int toNodeID,
                   boolean[] cancel)
This method is called by MoviesTask when a user is leaving a node in a VR movie.
Parameters:
vr - the QTVRInstance
fromNodeID - the nodeID that the user is leaving
toNodeID - the nodeID that the user is entering
cancel - To cancel the leaving of the fromNode the application should set the first element of the boolean[] to true (by default it is set to false and the user will be able to leave the current node).
Returns:
an error code or zero if no error.
See Also:
QTCallBack