C# Класс entity.Renderers.Gizmo

The gizmo.
Показать файл Открыть проект

Открытые методы

Метод Описание
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