Property | Type | Description | |
---|---|---|---|
KeepPreviousSelection | bool | ||
Selection | List |
||
SelectionMode | SelectionModeType | ||
VerboseLogging | bool |
Method | Description | |
---|---|---|
Clear ( ) : void |
public method to clear and reset the MouseSelector object
|
|
DeselectObjects ( ) : void |
Public Method for deselecting all objects previously selected. once they are selected they stay selected till the object is cleared or another selection begins.
|
|
MouseMoved ( SharpInputSystem evt ) : void |
public method to call when the mouse is moved
|
|
MousePressed ( SharpInputSystem evt, SharpInputSystem id ) : void |
public method to call when the mouse is pressed
|
|
MouseReleased ( SharpInputSystem evt, SharpInputSystem id ) : void |
public method to call when the mouse button is released
|
|
MouseSelector ( |
This is the Constructor for the MouseSelection object, scene must be fully initialized and valid camera and window must be passed in, generic name will be created
|
|
MouseSelector ( string name, |
This is the Constructor for the MouseSelection object, scene must be fully initialized and valid camera and window must be passed in, name must be passed
|
Method | Description | |
---|---|---|
Log ( string message ) : void |
Logging via the LogManager
|
|
PerformSelectionWithMouseClick ( ) : void |
private method for selection object that creates a box from a single mouse click
|
|
PerformSelectionWithSelectionBox ( |
private method for selection object that creates a box from the SelectionRectangle, stop variable is passed in
|
|
SelectObject ( Axiom.Core.MovableObject obj ) : void |
Private method that adds any object not currently selected into the selection list
|
public MouseMoved ( SharpInputSystem evt ) : void | ||
evt | SharpInputSystem | |
return | void |
public MousePressed ( SharpInputSystem evt, SharpInputSystem id ) : void | ||
evt | SharpInputSystem | MouseEventArgs |
id | SharpInputSystem | MouseButtonID |
return | void |
public MouseReleased ( SharpInputSystem evt, SharpInputSystem id ) : void | ||
evt | SharpInputSystem | |
id | SharpInputSystem | |
return | void |
public MouseSelector ( |
||
camera | Camera | |
window | Axiom.Graphics.RenderWindow | RenderWindow |
return | System |
public MouseSelector ( string name, |
||
name | string | string |
camera | Camera | |
window | Axiom.Graphics.RenderWindow | RenderWindow |
return | System |