RelativeOrbitOperator

class HPS.RelativeOrbitOperator : HPS.Operator

Public Functions

override void Dispose ()
override string GetName ()

Returns the name of the Operator.

override bool OnMouseDown (HPS.MouseState in_state)

This function is called whenever HPS receives a MouseEvent that signals a mouse button was pressed.

Param in_state:A MouseState object describing the current mouse state.
Return:true if the input event was handled, false otherwise.
override bool OnMouseMove (HPS.MouseState in_state)

This function is called whenever HPS receives a MouseEvent that signals the mouse moved

Param in_state:A MouseState object describing the current mouse state.
Return:true if the input event was handled, false otherwise.
override bool OnMouseUp (HPS.MouseState in_state)

This function is called whenever HPS receives a MouseEvent that signals a mouse button was released.

Param in_state:A MouseState object describing the current mouse state.
Return:true if the input event was handled, false otherwise.
override bool OnTouchDown (HPS.TouchState in_state)

This function is called whenever HPS receives a TouchEvent that signals the device was touched.

Param in_state:A TouchState object describing the current touch state.
Return:true if the input event was handled, false otherwise.
override bool OnTouchMove (HPS.TouchState in_state)

This function is called whenever HPS receives a TouchEvent that signals a point of contact has moved.

Param in_state:A TouchState object describing the current touch state.
Return:true if the input event was handled, false otherwise.
override bool OnTouchUp (HPS.TouchState in_state)

This function is called whenever HPS receives a TouchEvent that signals a point of contact has been released.

Param in_state:A TouchState object describing the current touch state.
Return:true if the input event was handled, false otherwise.
RelativeOrbitOperator ()

Constructor for the HPS.RelativeOrbitOperator class

RelativeOrbitOperator (HPS.MouseButtons in_mouse_trigger)

Constructor for the HPS.RelativeOrbitOperator class

Param in_mouse_trigger:
 The mouse button that will trigger this operator
RelativeOrbitOperator (HPS.MouseButtons in_mouse_trigger, HPS.ModifierKeys in_modifier_trigger)

Constructor for the HPS.RelativeOrbitOperator class

Param in_mouse_trigger:
 The mouse button that will trigger this operator
Param in_modifier_trigger:
 The modifier keys that, with the mouse trigger, will trigger this operator. Optional.
RelativeOrbitOperator (HPS.RelativeOrbitOperator in_that)
bool ShowCenterOfRotation (out HPS.Point out_point)