C# Class FC3Editor.Tools.ToolObject

Inheritance: ITool, IToolBase, IParameterProvider, IInputSink, IParameterProviderDynamic, IContextHelpDynamic
Exibir arquivo Open project: Azerothian/fc3editor Class Usage Examples

Public Methods

Method Description
Activate ( ) : void
Deactivate ( ) : void
GetContextHelp ( ) : string
GetMainParameter ( ) : IParameter
GetParameters ( ) : IEnumerable
GetToolImage ( ) : Image
GetToolName ( ) : string
OnEditorEvent ( uint eventType, IntPtr eventPtr ) : void
OnInputAcquire ( ) : void
OnInputRelease ( ) : void
OnKeyEvent ( Editor keyEvent, KeyEventArgs keyEventArgs ) : bool
OnMouseEvent ( Editor mouseEvent, MouseEventArgs mouseEventArgs ) : bool
SetSelection ( EditorObjectSelection selection, EditorObject gizmoObject ) : void
SwitchMode ( ToolObject mode ) : void
ToolObject ( ) : System
Update ( float dt ) : void
UpdateContextHelp ( ) : void

Private Methods

Method Description
ClearGizmo ( ) : void
ClearMode ( ToolObject mode ) : void
ClearSelection ( ) : void
ClearSelectionState ( ) : void
CreateSelection ( ) : void
DeleteSelection ( ) : void
DestroySelection ( ) : void
EnableGizmo ( bool enable ) : void
SelectObject ( EditorObjectSelection selection, EditorObject obj ) : void
SetGizmoRotationMode ( bool enable ) : void
SetMode ( ToolObject mode ) : void
SetupGizmo ( EditorObject gizmoObject ) : void
SwitchMode ( ToolObject prevMode, ToolObject mode ) : void
TestGizmo ( ) : void
UpdateGizmo ( ) : void
UpdateParams ( ) : void
UpdateSelection ( ) : void
UpdateSelection ( bool updateCenter ) : void
UpdateSelectionState ( ) : void
action_CopyClipboard ( ) : void
action_Delete ( ) : void
action_Freeze ( ) : void
action_GotoObject ( ) : void
action_GotoObject ( object sender, EventArgs e ) : void
action_SelectionValueChanged ( object sender, EventArgs e ) : void
action_Unfreeze ( ) : void
axisType_ValueChanged ( object sender, EventArgs e ) : void
editTool_ValueChanged ( object sender, EventArgs e ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

Deactivate() public method

public Deactivate ( ) : void
return void

GetContextHelp() public method

public GetContextHelp ( ) : string
return string

GetMainParameter() public method

public GetMainParameter ( ) : IParameter
return IParameter

GetParameters() public method

public GetParameters ( ) : IEnumerable
return IEnumerable

GetToolImage() public method

public GetToolImage ( ) : Image
return Image

GetToolName() public method

public GetToolName ( ) : string
return string

OnEditorEvent() public method

public OnEditorEvent ( uint eventType, IntPtr eventPtr ) : void
eventType uint
eventPtr System.IntPtr
return void

OnInputAcquire() public method

public OnInputAcquire ( ) : void
return void

OnInputRelease() public method

public OnInputRelease ( ) : void
return void

OnKeyEvent() public method

public OnKeyEvent ( Editor keyEvent, KeyEventArgs keyEventArgs ) : bool
keyEvent FC3Editor.Nomad.Editor
keyEventArgs System.Windows.Forms.KeyEventArgs
return bool

OnMouseEvent() public method

public OnMouseEvent ( Editor mouseEvent, MouseEventArgs mouseEventArgs ) : bool
mouseEvent FC3Editor.Nomad.Editor
mouseEventArgs MouseEventArgs
return bool

SetSelection() public method

public SetSelection ( EditorObjectSelection selection, EditorObject gizmoObject ) : void
selection FC3Editor.Nomad.EditorObjectSelection
gizmoObject FC3Editor.Nomad.EditorObject
return void

SwitchMode() public method

public SwitchMode ( ToolObject mode ) : void
mode ToolObject
return void

ToolObject() public method

public ToolObject ( ) : System
return System

Update() public method

public Update ( float dt ) : void
dt float
return void

UpdateContextHelp() public method

public UpdateContextHelp ( ) : void
return void