C# 클래스 entity.Renderers.Gizmo

The gizmo.
파일 보기 프로젝트 열기: troymac1ure/Entity

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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.

메소드 상세

Gizmo() 공개 메소드

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

checkForIntersection() 공개 메소드

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.
리턴 axis

draw() 공개 메소드

The draw.
public draw ( float scale ) : void
scale float The scale.
리턴 void