Свойство | Type | Description | |
---|---|---|---|
KeepPreviousSelection | bool | ||
Selection | List |
||
SelectionMode | SelectionModeType | ||
VerboseLogging | bool |
Méthode | 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
|
Méthode | 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 | |
Résultat | void |
public MousePressed ( SharpInputSystem evt, SharpInputSystem id ) : void | ||
evt | SharpInputSystem | MouseEventArgs |
id | SharpInputSystem | MouseButtonID |
Résultat | void |
public MouseReleased ( SharpInputSystem evt, SharpInputSystem id ) : void | ||
evt | SharpInputSystem | |
id | SharpInputSystem | |
Résultat | void |
public MouseSelector ( |
||
camera | Camera | |
window | Axiom.Graphics.RenderWindow | RenderWindow |
Résultat | System |
public MouseSelector ( string name, |
||
name | string | string |
camera | Camera | |
window | Axiom.Graphics.RenderWindow | RenderWindow |
Résultat | System |