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

Allows to move, scale and rotate the objects of a Scene while providing a preview through the lens of the editor Camera. User input is consumed by the editor and not forwarded to the game.
Inheritance: Duality.Editor.Plugins.CamView.CamViewStates.ObjectEditorCamViewState
Afficher le fichier Open project: BraveSirAndrew/duality

Private Properties

Свойство Type Description
ClearContextMenu void
DragBeginAction void
EditorForm_ObjectPropertyChanged void
EditorForm_SelectionChanged void
IsAffectedByParent bool
RendererFilter bool

Méthodes publiques

Méthode 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
SelectObjects ( IEnumerable selObjEnum, SelectMode mode = SelectMode.Set ) : void

Méthodes protégées

Méthode Description
OnCollectStateOverlayDrawcalls ( Canvas canvas ) : void
OnCurrentCameraChanged ( CamView e ) : void
OnDragDrop ( DragEventArgs e ) : void
OnDragEnter ( DragEventArgs e ) : void
OnDragLeave ( EventArgs e ) : void
OnDragOver ( DragEventArgs e ) : void
OnEnterState ( ) : void
OnLeaveState ( ) : void
OnSceneChanged ( ) : void
PostPerformAction ( IEnumerable selObjEnum, IObjectAction action ) : void

Private Methods

Méthode Description
ClearContextMenu ( ) : void
DragBeginAction ( DragEventArgs e ) : void
EditorForm_ObjectPropertyChanged ( object sender, Duality.Editor.ObjectPropertyChangedEventArgs e ) : void
EditorForm_SelectionChanged ( object sender, Duality.Editor.SelectionChangedEventArgs e ) : void
IsAffectedByParent ( GameObject child, GameObject parent ) : bool
RendererFilter ( ICmpRenderer r ) : bool

Method Details

ClearSelection() public méthode

public ClearSelection ( ) : void
Résultat void

CloneObjects() public méthode

public CloneObjects ( IEnumerable objEnum ) : List
objEnum IEnumerable
Résultat List

DeleteObjects() public méthode

public DeleteObjects ( IEnumerable objEnum ) : void
objEnum IEnumerable
Résultat void

OnCollectStateOverlayDrawcalls() protected méthode

protected OnCollectStateOverlayDrawcalls ( Canvas canvas ) : void
canvas Canvas
Résultat void

OnCurrentCameraChanged() protected méthode

protected OnCurrentCameraChanged ( CamView e ) : void
e CamView
Résultat void

OnDragDrop() protected méthode

protected OnDragDrop ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs
Résultat void

OnDragEnter() protected méthode

protected OnDragEnter ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs
Résultat void

OnDragLeave() protected méthode

protected OnDragLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnDragOver() protected méthode

protected OnDragOver ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs
Résultat void

OnEnterState() protected méthode

protected OnEnterState ( ) : void
Résultat void

OnLeaveState() protected méthode

protected OnLeaveState ( ) : void
Résultat void

OnSceneChanged() protected méthode

protected OnSceneChanged ( ) : void
Résultat void

PickSelObjAt() public méthode

public PickSelObjAt ( int x, int y ) : CamViewState.SelObj
x int
y int
Résultat CamViewState.SelObj

PickSelObjIn() public méthode

public PickSelObjIn ( int x, int y, int w, int h ) : List
x int
y int
w int
h int
Résultat List

PostPerformAction() protected méthode

protected PostPerformAction ( IEnumerable selObjEnum, IObjectAction action ) : void
selObjEnum IEnumerable
action IObjectAction
Résultat void

SelectObjects() public méthode

public SelectObjects ( IEnumerable selObjEnum, SelectMode mode = SelectMode.Set ) : void
selObjEnum IEnumerable
mode SelectMode
Résultat void