C# Class idTech4.Renderer.idRenderModel_MD5

Inheritance: idRenderModel_Static
显示文件 Open project: iainmckay/idtech4.net Class Usage Examples

Public Methods

Method Description
GetBounds ( RenderEntityComponent renderEntity = null ) : idBounds

Calculates a rough bounds by using the joint radii without transforming all the points.

GetJointIndex ( idMD5Joint joint ) : int
GetJointIndex ( string name ) : int
GetJointName ( int index ) : string
GetNearestJoint ( int surfaceIndex, int a, int c, int b ) : int
InitFromFile ( string fileName ) : void
InstantiateDynamicModel ( idRenderEntity renderEntity, View view, idRenderModel cachedModel ) : idRenderModel
Load ( ) : void

Used for initial loads, reloadModel, and reloading the data of purged models.

Upon exit, the model will absolutely be valid, but possibly as a default model.

Print ( ) : void
Purge ( ) : void
TouchData ( ) : void

Models that are already loaded at level start time will still touch their materials to make sure they are kept loaded.

idRenderModel_MD5 ( ) : System

Private Methods

Method Description
CalculateBounds ( idJointMatrix entityJoints ) : void
ParseJoint ( idLexer lexer, idMD5Joint joint, idJointQuaternion &defaultPose ) : void

Method Details

GetBounds() public method

Calculates a rough bounds by using the joint radii without transforming all the points.
public GetBounds ( RenderEntityComponent renderEntity = null ) : idBounds
renderEntity RenderEntityComponent
return idBounds

GetJointIndex() public method

public GetJointIndex ( idMD5Joint joint ) : int
joint idMD5Joint
return int

GetJointIndex() public method

public GetJointIndex ( string name ) : int
name string
return int

GetJointName() public method

public GetJointName ( int index ) : string
index int
return string

GetNearestJoint() public method

public GetNearestJoint ( int surfaceIndex, int a, int c, int b ) : int
surfaceIndex int
a int
c int
b int
return int

InitFromFile() public method

public InitFromFile ( string fileName ) : void
fileName string
return void

InstantiateDynamicModel() public method

public InstantiateDynamicModel ( idRenderEntity renderEntity, View view, idRenderModel cachedModel ) : idRenderModel
renderEntity idRenderEntity
view View
cachedModel idRenderModel
return idRenderModel

Load() public method

Used for initial loads, reloadModel, and reloading the data of purged models.
Upon exit, the model will absolutely be valid, but possibly as a default model.
public Load ( ) : void
return void

Print() public method

public Print ( ) : void
return void

Purge() public method

public Purge ( ) : void
return void

TouchData() public method

Models that are already loaded at level start time will still touch their materials to make sure they are kept loaded.
public TouchData ( ) : void
return void

idRenderModel_MD5() public method

public idRenderModel_MD5 ( ) : System
return System