C# 클래스 HaloMap.Render.Renderer

The renderer.
상속: IDisposable
파일 보기 프로젝트 열기: troymac1ure/Entity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
device Device
lighting bool
pause bool

공개 메소드들

메소드 설명
BeginScene ( Color backgroundcolor ) : void

The begin scene.

CreateDevice ( Control renderpanel ) : void

The create device.

DecompressIndices ( short indices, int start, int count ) : short[]

The decompress indices.

DegreeToRadian ( float degree ) : float

The degree to radian.

Dispose ( ) : void

The dispose.

EndScene ( ) : void

The end scene.

MakeMesh ( List vertices, List Indices, List uvs ) : Mesh

The make mesh.

MakeMesh ( ParsedModel &pm, int chunknumber, Device &device ) : Mesh

The make mesh.

Mark3DCursorPosition ( float x, float y, System.Matrix m ) : System.Vector3

The mark 3 d cursor position.

MeshPick ( float x, float y, Mesh mesh, System.Matrix mat ) : bool

The mesh pick.

OnResetDevice ( object sender, EventArgs e ) : void

The on reset device.

RadianToDegree ( float radian ) : float

The radian to degree.

SetAlphaBlending ( ShaderInfo alphatype, Device &device ) : void

The set alpha blending.

VectorToRgba ( System.Vector3 v, float height ) : int

The vector to rgba.

메소드 상세

BeginScene() 공개 메소드

The begin scene.
public BeginScene ( Color backgroundcolor ) : void
backgroundcolor Color The backgroundcolor.
리턴 void

CreateDevice() 공개 메소드

The create device.
public CreateDevice ( Control renderpanel ) : void
renderpanel System.Windows.Forms.Control The renderpanel.
리턴 void

DecompressIndices() 공개 정적인 메소드

The decompress indices.
public static DecompressIndices ( short indices, int start, int count ) : short[]
indices short The indices.
start int The start.
count int The count.
리턴 short[]

DegreeToRadian() 공개 정적인 메소드

The degree to radian.
public static DegreeToRadian ( float degree ) : float
degree float The degree.
리턴 float

Dispose() 공개 메소드

The dispose.
public Dispose ( ) : void
리턴 void

EndScene() 공개 메소드

The end scene.
public EndScene ( ) : void
리턴 void

MakeMesh() 공개 메소드

The make mesh.
public MakeMesh ( List vertices, List Indices, List uvs ) : Mesh
vertices List The vertices.
Indices List The indices.
uvs List The uvs.
리턴 Mesh

MakeMesh() 공개 정적인 메소드

The make mesh.
public static MakeMesh ( ParsedModel &pm, int chunknumber, Device &device ) : Mesh
pm HaloMap.RawData.ParsedModel The pm.
chunknumber int The chunknumber.
device Device The device.
리턴 Mesh

Mark3DCursorPosition() 공개 메소드

The mark 3 d cursor position.
public Mark3DCursorPosition ( float x, float y, System.Matrix m ) : System.Vector3
x float The x.
y float The y.
m System.Matrix The m.
리턴 System.Vector3

MeshPick() 공개 메소드

The mesh pick.
public MeshPick ( float x, float y, Mesh mesh, System.Matrix mat ) : bool
x float The x.
y float The y.
mesh Mesh The mesh.
mat System.Matrix The mat.
리턴 bool

OnResetDevice() 공개 메소드

The on reset device.
public OnResetDevice ( object sender, EventArgs e ) : void
sender object The sender.
e System.EventArgs The e.
리턴 void

RadianToDegree() 공개 정적인 메소드

The radian to degree.
public static RadianToDegree ( float radian ) : float
radian float The radian.
리턴 float

SetAlphaBlending() 공개 정적인 메소드

The set alpha blending.
public static SetAlphaBlending ( ShaderInfo alphatype, Device &device ) : void
alphatype HaloMap.H2MetaContainers.ShaderInfo The alphatype.
device Device The device.
리턴 void

VectorToRgba() 공개 정적인 메소드

The vector to rgba.
public static VectorToRgba ( System.Vector3 v, float height ) : int
v System.Vector3 The v.
height float The height.
리턴 int

프로퍼티 상세

device 공개적으로 프로퍼티

The device.
public Device device
리턴 Device

lighting 공개적으로 프로퍼티

The lighting.
public bool lighting
리턴 bool

pause 공개적으로 프로퍼티

The pause.
public bool pause
리턴 bool