C# Class idTech4.Renderer.idRenderModel_MD5

Inheritance: idRenderModel_Static
Afficher le fichier Open project: iainmckay/idtech4.net Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

GetBounds() public méthode

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

GetJointIndex() public méthode

public GetJointIndex ( idMD5Joint joint ) : int
joint idMD5Joint
Résultat int

GetJointIndex() public méthode

public GetJointIndex ( string name ) : int
name string
Résultat int

GetJointName() public méthode

public GetJointName ( int index ) : string
index int
Résultat string

GetNearestJoint() public méthode

public GetNearestJoint ( int surfaceIndex, int a, int c, int b ) : int
surfaceIndex int
a int
c int
b int
Résultat int

InitFromFile() public méthode

public InitFromFile ( string fileName ) : void
fileName string
Résultat void

InstantiateDynamicModel() public méthode

public InstantiateDynamicModel ( idRenderEntity renderEntity, View view, idRenderModel cachedModel ) : idRenderModel
renderEntity idRenderEntity
view View
cachedModel idRenderModel
Résultat idRenderModel

Load() public méthode

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
Résultat void

Print() public méthode

public Print ( ) : void
Résultat void

Purge() public méthode

public Purge ( ) : void
Résultat void

TouchData() public méthode

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

idRenderModel_MD5() public méthode

public idRenderModel_MD5 ( ) : System
Résultat System