C# Class idTech4.Game.Animation.idAnim

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

Public Methods

Method Description
AddFrameCommand ( idDeclModel modelDef, int frameIndex, idLexer lexer, idDict def ) : string
GetBounds ( idBounds &bounds, int animNumber, int currentTime, int cycleCount ) : bool
GetOrigin ( Vector3 &offset, int animNumber, int currentTime, int cycleCount ) : bool
SetAnimation ( idDeclModel modelDef, string sourceName, string animName, idMD5Anim md5anims ) : void
idAnim ( ) : System

Method Details

AddFrameCommand() public method

public AddFrameCommand ( idDeclModel modelDef, int frameIndex, idLexer lexer, idDict def ) : string
modelDef idDeclModel
frameIndex int
lexer idTech4.Text.idLexer
def idDict
return string

GetBounds() public method

public GetBounds ( idBounds &bounds, int animNumber, int currentTime, int cycleCount ) : bool
bounds idBounds
animNumber int
currentTime int
cycleCount int
return bool

GetOrigin() public method

public GetOrigin ( Vector3 &offset, int animNumber, int currentTime, int cycleCount ) : bool
offset Vector3
animNumber int
currentTime int
cycleCount int
return bool

SetAnimation() public method

public SetAnimation ( idDeclModel modelDef, string sourceName, string animName, idMD5Anim md5anims ) : void
modelDef idDeclModel
sourceName string
animName string
md5anims idMD5Anim
return void

idAnim() public method

public idAnim ( ) : System
return System