C# Class ME3Explorer.Meshplorer.Preview3D

显示文件 Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
BodySetup int
CamDistance float
CamOffset System.Vector3
Cubes List
CurrentTex Texture
DefaultTex Texture
LOD int
Mat Material
RawTriangles CustomVertex.PositionTextured[]
StatMesh ME3Explorer.Unreal.Classes.StaticMesh
boxorigin System.Vector3
device Device
init bool
presentParams PresentParameters
rotate bool

Public Methods

Method Description
InitializeGraphics ( Control handle ) : bool
NewCubeByCubeMinMax ( DXCube org, System.Vector3 min, System.Vector3 max, int c ) : DXCube
NewCubeByOrigSize ( System.Vector3 origin, System.Vector3 size, int c ) : DXCube
Refresh ( ) : void
setTex ( Texture tex = null ) : void
switchYZ ( System.Vector3 v ) : System.Vector3

Private Methods

Method Description
Render ( ) : void

Method Details

InitializeGraphics() public static method

public static InitializeGraphics ( Control handle ) : bool
handle System.Windows.Forms.Control
return bool

NewCubeByCubeMinMax() public static method

public static NewCubeByCubeMinMax ( DXCube org, System.Vector3 min, System.Vector3 max, int c ) : DXCube
org DXCube
min System.Vector3
max System.Vector3
c int
return DXCube

NewCubeByOrigSize() public static method

public static NewCubeByOrigSize ( System.Vector3 origin, System.Vector3 size, int c ) : DXCube
origin System.Vector3
size System.Vector3
c int
return DXCube

Refresh() public static method

public static Refresh ( ) : void
return void

setTex() public static method

public static setTex ( Texture tex = null ) : void
tex Texture
return void

switchYZ() public static method

public static switchYZ ( System.Vector3 v ) : System.Vector3
v System.Vector3
return System.Vector3

Property Details

BodySetup public_oe static_oe property

public static int BodySetup
return int

CamDistance public_oe static_oe property

public static float CamDistance
return float

CamOffset public_oe static_oe property

public static Vector3,System CamOffset
return System.Vector3

Cubes public_oe static_oe property

public static List Cubes
return List

CurrentTex public_oe static_oe property

public static Texture CurrentTex
return Texture

DefaultTex public_oe static_oe property

public static Texture DefaultTex
return Texture

LOD public_oe static_oe property

public static int LOD
return int

Mat public_oe static_oe property

public static Material Mat
return Material

RawTriangles public_oe static_oe property

public static CustomVertex.PositionTextured[] RawTriangles
return CustomVertex.PositionTextured[]

StatMesh public_oe static_oe property

public static StaticMesh,ME3Explorer.Unreal.Classes StatMesh
return ME3Explorer.Unreal.Classes.StaticMesh

boxorigin public_oe static_oe property

public static Vector3,System boxorigin
return System.Vector3

device public_oe static_oe property

public static Device device
return Device

init public_oe static_oe property

public static bool init
return bool

presentParams public_oe static_oe property

public static PresentParameters presentParams
return PresentParameters

rotate public_oe static_oe property

public static bool rotate
return bool