HPS.WalkOperator
- class HPS.WalkOperator : public HPS.FlyOperator
The WalkOperator class defines an operator which allows the user to accurately move the camera around the scene, while snapped to a plane. This operator is intended for walking through models that have a defined ground plane, such as a floor in a building. For models that don’t have a ground plane, Visualize will attempt to determine a ground plane heuristically. This operator works for both mouse and touch-driven devices.
Subclassed by HPS.SimpleWalkOperator
Public Functions
- override string GetName ()
Returns the name of the operator.
- override void OnModelAttached ()
This function is called whenever a model is attached to the view that is attached to this operator. If no view is attached to this operator, this function will not be called.
- override bool OnTimerTick (HPS.TimerTickEvent in_event)
This function is called whenever HPS receives a TimerTickEvent This function moves the camera
- Return
true if the input event was handled, false otherwise.