C# Class Duality.Editor.Plugins.CamView.CamViewStates.RigidBodyEditorCamViewState

Inheritance: Duality.Editor.Plugins.CamView.CamViewStates.CamViewState
Mostrar archivo Open project: BraveSirAndrew/duality

Public Properties

Property Type Description
ArrowCreateCircle System.Windows.Forms.Cursor
ArrowCreateEdge System.Windows.Forms.Cursor
ArrowCreateLoop System.Windows.Forms.Cursor
ArrowCreatePolygon System.Windows.Forms.Cursor

Public Methods

Method Description
ClearSelection ( ) : void
CloneObjects ( IEnumerable objEnum ) : List
DeleteObjects ( IEnumerable objEnum ) : void
PickSelObjAt ( int x, int y ) : CamViewState.SelObj
PickSelObjIn ( int x, int y, int w, int h ) : List
RigidBodyEditorCamViewState ( ) : System
SelectObjects ( IEnumerable selObjEnum, SelectMode mode = SelectMode.Set ) : void

Protected Methods

Method Description
OnBeginAction ( IObjectAction action ) : void
OnCollectStateDrawcalls ( Canvas canvas ) : void
OnCurrentCameraChanged ( CamView e ) : void
OnEndAction ( IObjectAction action ) : void
OnEnterState ( ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnLeaveState ( ) : void
OnLostFocus ( ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
PostPerformAction ( IEnumerable selObjEnum, IObjectAction action ) : void
QuerySelectedCollider ( ) : RigidBody
QueryVisibleColliders ( ) : IEnumerable
RendererFilter ( ICmpRenderer r ) : bool
UpdateActionText ( ) : string
UpdateStatusText ( ) : string
UpdateToolbar ( ) : void

Private Methods

Method Description
EditorForm_ObjectPropertyChanged ( object sender, Duality.Editor.ObjectPropertyChangedEventArgs e ) : void
EditorForm_SelectionChanged ( object sender, Duality.Editor.SelectionChangedEventArgs e ) : void
EnterCursorState ( CursorState state ) : void
LeaveCursorState ( ) : void
PickShape ( RigidBody body, System.Vector2 worldCoord ) : Duality.Components.Physics.ShapeInfo
PickShapes ( RigidBody body, System.Vector2 worldCoord, System.Vector2 worldSize ) : List
PickVertex ( int x, int y, int w, int h ) : SelVertex
PickVertices ( int x, int y, int w, int h ) : SelVertex[]
UpdateCursorImage ( ) : void
toolCreateCircle_Clicked ( object sender, EventArgs e ) : void
toolCreateLoop_Clicked ( object sender, EventArgs e ) : void
toolCreatePoly_Clicked ( object sender, EventArgs e ) : void

Method Details

ClearSelection() public method

public ClearSelection ( ) : void
return void

CloneObjects() public method

public CloneObjects ( IEnumerable objEnum ) : List
objEnum IEnumerable
return List

DeleteObjects() public method

public DeleteObjects ( IEnumerable objEnum ) : void
objEnum IEnumerable
return void

OnBeginAction() protected method

protected OnBeginAction ( IObjectAction action ) : void
action IObjectAction
return void

OnCollectStateDrawcalls() protected method

protected OnCollectStateDrawcalls ( Canvas canvas ) : void
canvas Canvas
return void

OnCurrentCameraChanged() protected method

protected OnCurrentCameraChanged ( CamView e ) : void
e CamView
return void

OnEndAction() protected method

protected OnEndAction ( IObjectAction action ) : void
action IObjectAction
return void

OnEnterState() protected method

protected OnEnterState ( ) : void
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnLeaveState() protected method

protected OnLeaveState ( ) : void
return void

OnLostFocus() protected method

protected OnLostFocus ( ) : void
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

PickSelObjAt() public method

public PickSelObjAt ( int x, int y ) : CamViewState.SelObj
x int
y int
return CamViewState.SelObj

PickSelObjIn() public method

public PickSelObjIn ( int x, int y, int w, int h ) : List
x int
y int
w int
h int
return List

PostPerformAction() protected method

protected PostPerformAction ( IEnumerable selObjEnum, IObjectAction action ) : void
selObjEnum IEnumerable
action IObjectAction
return void

QuerySelectedCollider() protected method

protected QuerySelectedCollider ( ) : RigidBody
return Duality.Components.Physics.RigidBody

QueryVisibleColliders() protected method

protected QueryVisibleColliders ( ) : IEnumerable
return IEnumerable

RendererFilter() protected method

protected RendererFilter ( ICmpRenderer r ) : bool
r ICmpRenderer
return bool

RigidBodyEditorCamViewState() public method

public RigidBodyEditorCamViewState ( ) : System
return System

SelectObjects() public method

public SelectObjects ( IEnumerable selObjEnum, SelectMode mode = SelectMode.Set ) : void
selObjEnum IEnumerable
mode SelectMode
return void

UpdateActionText() protected method

protected UpdateActionText ( ) : string
return string

UpdateStatusText() protected method

protected UpdateStatusText ( ) : string
return string

UpdateToolbar() protected method

protected UpdateToolbar ( ) : void
return void

Property Details

ArrowCreateCircle public_oe static_oe property

public static Cursor,System.Windows.Forms ArrowCreateCircle
return System.Windows.Forms.Cursor

ArrowCreateEdge public_oe static_oe property

public static Cursor,System.Windows.Forms ArrowCreateEdge
return System.Windows.Forms.Cursor

ArrowCreateLoop public_oe static_oe property

public static Cursor,System.Windows.Forms ArrowCreateLoop
return System.Windows.Forms.Cursor

ArrowCreatePolygon public_oe static_oe property

public static Cursor,System.Windows.Forms ArrowCreatePolygon
return System.Windows.Forms.Cursor