C# Class ME3Explorer.Meshplorer.Preview3D

Show file 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 static property

public static int BodySetup
return int

CamDistance public static property

public static float CamDistance
return float

CamOffset public static property

public static Vector3,System CamOffset
return System.Vector3

Cubes public static property

public static List Cubes
return List

CurrentTex public static property

public static Texture CurrentTex
return Texture

DefaultTex public static property

public static Texture DefaultTex
return Texture

LOD public static property

public static int LOD
return int

Mat public static property

public static Material Mat
return Material

RawTriangles public static property

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

StatMesh public static property

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

boxorigin public static property

public static Vector3,System boxorigin
return System.Vector3

device public static property

public static Device device
return Device

init public static property

public static bool init
return bool

presentParams public static property

public static PresentParameters presentParams
return PresentParameters

rotate public static property

public static bool rotate
return bool