C# Class entity.Renderers.Gizmo

The gizmo.
Mostrar archivo Open project: troymac1ure/Entity

Public Methods

Method Description
Gizmo ( Device device ) : System.Collections.Generic

Initializes a new instance of the Gizmo class.

checkForIntersection ( MouseEventArgs e, Matrix mat ) : axis

Checks for intersection with a given mouse point. Pass the results from a call to System.Windows.Forms.MouseEventArgs()

draw ( float scale ) : void

The draw.

Private Methods

Method Description
MeshPick ( float x, float y, Mesh mesh, Matrix mat ) : List

The mesh pick.

createMovementGizmo ( ) : void

The create movement gizmo.

setGizmo ( transform tForm ) : void

The set gizmo.

Method Details

Gizmo() public method

Initializes a new instance of the Gizmo class.
public Gizmo ( Device device ) : System.Collections.Generic
device Device The device.
return System.Collections.Generic

checkForIntersection() public method

Checks for intersection with a given mouse point. Pass the results from a call to System.Windows.Forms.MouseEventArgs()
public checkForIntersection ( MouseEventArgs e, Matrix mat ) : axis
e MouseEventArgs The instance containing the event data.
mat Matrix The mat.
return axis

draw() public method

The draw.
public draw ( float scale ) : void
scale float The scale.
return void