C# 클래스 Canguro.Commands.View.ZoomStep

Makes zoom on active view when wheel mouse is rolled.
상속: Canguro.Commands.ViewCommand
파일 보기 프로젝트 열기: rforsbach/Treu-Structure

공개 프로퍼티들

프로퍼티 타입 설명
Instance ZoomStep

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

ButtonDown() 공개 메소드

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
리턴 void

ButtonUp() 공개 메소드

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
리턴 void

MouseMove() 공개 메소드

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
리턴 void

MouseWheel() 공개 메소드

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
리턴 void

프로퍼티 상세

Instance 공개적으로 정적으로 프로퍼티

Singleton for this command
public static ZoomStep,Canguro.Commands.View Instance
리턴 ZoomStep