ZoomFitTouchOperator
-
class
HPS.ZoomFitTouchOperator: HPS.Operator The ZoomFitTouchOperator class defines an operator which fits the camera to the model currently loaded. This Operator works for touch-driven devices only. Touch-Driven Devices: Double Tap: Fits the camera to the model currently loaded.
Public Functions
-
override void
Dispose()
-
override string
GetName() Returns the name of the operator.
-
override bool
OnTouchDown(HPS.TouchState in_state) This function is called whenever HPS receives a TouchEvent that signals the device was touched. This function starts the operator and fits the camera to the model currently loaded, if a double tap was received.
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. This function stops the operator.
Param in_state: A TouchState object describing the current touch state. Return: true if the input event was handled, false otherwise.
-
ZoomFitTouchOperator()
-
ZoomFitTouchOperator(HPS.ZoomFitTouchOperator in_that)
-
override void