C# 클래스 Warcraft.WMO.WMO

Container class for a World Model Object (WMO). This class hosts the root file with metadata definitions, as well as the group files which contain the actual 3D model data.
상속: IDisposable
파일 보기 프로젝트 열기: Nihlus/libwarcraft

공개 프로퍼티들

프로퍼티 타입 설명
Groups List
RootInformation Warcraft.WMO.RootFile.ModelRoot

공개 메소드들

메소드 설명
AddModelGroup ( ModelGroup modelGroup ) : void

Adds a model group to the model object. The model group must be listed in the root object, or it won't be accepted by the model.

AddModelGroup ( Stream modelGroupStream ) : void

Adds a model group to the model object. The model group must be listed in the root object, or it won't be accepted by the model.

AddModelGroup ( byte inData ) : void

Adds a model group to the model object. The model group must be listed in the root object, or it won't be accepted by the model.

ContainsGroup ( ModelGroup modelGroup ) : bool
Dispose ( ) : void

Releases all resource used by the Warcraft.WMO.WMO object.

Call Dispose when you are finished using the Warcraft.WMO.WMO. The Dispose method leaves the Warcraft.WMO.WMO in an unusable state. After calling Dispose, you must release all references to the Warcraft.WMO.WMO so the garbage collector can reclaim the memory that the Warcraft.WMO.WMO was occupying.

GetMaterial ( byte materialID ) : ModelMaterial
GetUsedTextures ( ) : List
ResolveInternalGroupName ( ModelGroup modelGroup ) : string
WMO ( byte inData ) : System

비공개 메소드들

메소드 설명
PostResolveStringReferences ( ) : void
ResolveInternalDescriptiveGroupName ( ModelGroup modelGroup ) : string

메소드 상세

AddModelGroup() 공개 메소드

Adds a model group to the model object. The model group must be listed in the root object, or it won't be accepted by the model.
public AddModelGroup ( ModelGroup modelGroup ) : void
modelGroup Warcraft.WMO.GroupFile.ModelGroup Model group.
리턴 void

AddModelGroup() 공개 메소드

Adds a model group to the model object. The model group must be listed in the root object, or it won't be accepted by the model.
public AddModelGroup ( Stream modelGroupStream ) : void
modelGroupStream Stream Stream containing the Model group.
리턴 void

AddModelGroup() 공개 메소드

Adds a model group to the model object. The model group must be listed in the root object, or it won't be accepted by the model.
public AddModelGroup ( byte inData ) : void
inData byte Byte array containing the model group.
리턴 void

ContainsGroup() 공개 메소드

public ContainsGroup ( ModelGroup modelGroup ) : bool
modelGroup Warcraft.WMO.GroupFile.ModelGroup
리턴 bool

Dispose() 공개 메소드

Releases all resource used by the Warcraft.WMO.WMO object.
Call Dispose when you are finished using the Warcraft.WMO.WMO. The Dispose method leaves the Warcraft.WMO.WMO in an unusable state. After calling Dispose, you must release all references to the Warcraft.WMO.WMO so the garbage collector can reclaim the memory that the Warcraft.WMO.WMO was occupying.
public Dispose ( ) : void
리턴 void

GetMaterial() 공개 메소드

public GetMaterial ( byte materialID ) : ModelMaterial
materialID byte
리턴 Warcraft.WMO.RootFile.Chunks.ModelMaterial

GetUsedTextures() 공개 메소드

public GetUsedTextures ( ) : List
리턴 List

ResolveInternalGroupName() 공개 메소드

public ResolveInternalGroupName ( ModelGroup modelGroup ) : string
modelGroup Warcraft.WMO.GroupFile.ModelGroup
리턴 string

WMO() 공개 메소드

public WMO ( byte inData ) : System
inData byte
리턴 System

프로퍼티 상세

Groups 공개적으로 프로퍼티

public List Groups
리턴 List

RootInformation 공개적으로 프로퍼티

public ModelRoot,Warcraft.WMO.RootFile RootInformation
리턴 Warcraft.WMO.RootFile.ModelRoot