C# Class Canguro.Commands.View.ZoomStep

Makes zoom on active view when wheel mouse is rolled.
Inheritance: Canguro.Commands.ViewCommand
Afficher le fichier Open project: rforsbach/Treu-Structure

Méthodes publiques

Свойство Type Description
Instance ZoomStep

Méthodes publiques

Méthode Description
ButtonDown ( Canguro activeView, System e ) : void

Event Handler: Action to take when a button is pressed (For now, do nothing)

ButtonUp ( Canguro activeView, System e ) : void

Event Handler: Action to take when a button is released (For now, do nothing)

MouseMove ( Canguro activeView, System e ) : void

Event Handler: Action to take when mouse is moving

MouseWheel ( Canguro activeView, System e ) : void

EventHandler: Response to mouse wheel movement. When scrolling, react by xooming in/out the active view

Private Methods

Méthode Description
Zoom ( Canguro activeView, float step ) : void

Makes zoom based in an arcball property and a step value for unification with the rest of zoom commands

ZoomStep ( ) : System

Class constructor

Method Details

ButtonDown() public méthode

Event Handler: Action to take when a button is pressed (For now, do nothing)
public ButtonDown ( Canguro activeView, System e ) : void
activeView Canguro Active view in the scene panel
e System Mouse arguments
Résultat void

ButtonUp() public méthode

Event Handler: Action to take when a button is released (For now, do nothing)
public ButtonUp ( Canguro activeView, System e ) : void
activeView Canguro Active view in scene panel
e System Mouse arguments
Résultat void

MouseMove() public méthode

Event Handler: Action to take when mouse is moving
public MouseMove ( Canguro activeView, System e ) : void
activeView Canguro Active view in scene panel
e System Mouse Arguments
Résultat void

MouseWheel() public méthode

EventHandler: Response to mouse wheel movement. When scrolling, react by xooming in/out the active view
public MouseWheel ( Canguro activeView, System e ) : void
activeView Canguro Active view in scene panel
e System Mouse Arguments
Résultat void

Property Details

Instance public_oe static_oe property

Singleton for this command
public static ZoomStep,Canguro.Commands.View Instance
Résultat ZoomStep