C# Class TerrainDisplay.MPQ.WMO.WMO

Class for the WMO Group File
ファイルを表示 Open project: WCell/WCell-Terrain

Public Properties

Property Type Description
AABB TerrainDisplay.Collision._3D.AABB
FileName string
Indices List
OrientatedBoundingBox WCell.Util.Graphics.OBB
TotalGroups int
Triangles List
Vertices List

Public Methods

Method Description
AddWMOGroup ( WMOGroup wmoGroup ) : void
ClearCollisionData ( ) : void
CreateAABB ( System.Vector3 min, System.Vector3 max ) : void
GetWMOGroup ( int index ) : WMOGroup
WMO ( ) : System
WMO ( String name ) : System

Method Details

AddWMOGroup() public method

public AddWMOGroup ( WMOGroup wmoGroup ) : void
wmoGroup WMOGroup
return void

ClearCollisionData() public method

public ClearCollisionData ( ) : void
return void

CreateAABB() public method

public CreateAABB ( System.Vector3 min, System.Vector3 max ) : void
min System.Vector3
max System.Vector3
return void

GetWMOGroup() public method

public GetWMOGroup ( int index ) : WMOGroup
index int
return WMOGroup

WMO() public method

public WMO ( ) : System
return System

WMO() public method

public WMO ( String name ) : System
name String
return System

Property Details

AABB public_oe property

AABB For the WMO
public AABB,TerrainDisplay.Collision._3D AABB
return TerrainDisplay.Collision._3D.AABB

FileName public_oe property

Name of the WMO Group file
public string FileName
return string

Indices public_oe property

List of indicies used for rendering this WMO in World Space
public List Indices
return List

OrientatedBoundingBox public_oe property

The Orientated Bounding Box for this WMO
public OBB,WCell.Util.Graphics OrientatedBoundingBox
return WCell.Util.Graphics.OBB

TotalGroups public_oe property

Total number of groups for the WMO
public int TotalGroups
return int

Triangles public_oe property

List of Triangles that are described by the indices/vertices
public List Triangles
return List

Vertices public_oe property

List of vertices used for rendering this WMO in World Space
public List Vertices
return List