C# Class GameCommon.MeshObjectAnimationController

Show file Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Public Methods

Method Description
Add ( string animationBaseName, bool allowRandomAnimationNumber, bool loop ) : AnimationItem
DoRenderFrame ( ) : void
GetRandomAnimationNumber ( string animationBaseName, bool firstAnimationIn10TimesMoreOften ) : int
MeshObjectAnimationController ( MeshObject meshObject, float blendingTime ) : System
Remove ( AnimationItem item ) : void
RemoveAll ( ) : void

Private Methods

Method Description
UpdateAnimationStatesWeights ( ) : void

Method Details

Add() public method

public Add ( string animationBaseName, bool allowRandomAnimationNumber, bool loop ) : AnimationItem
animationBaseName string
allowRandomAnimationNumber bool
loop bool
return AnimationItem

DoRenderFrame() public method

public DoRenderFrame ( ) : void
return void

GetRandomAnimationNumber() public method

public GetRandomAnimationNumber ( string animationBaseName, bool firstAnimationIn10TimesMoreOften ) : int
animationBaseName string
firstAnimationIn10TimesMoreOften bool
return int

MeshObjectAnimationController() public method

public MeshObjectAnimationController ( MeshObject meshObject, float blendingTime ) : System
meshObject MeshObject
blendingTime float
return System

Remove() public method

public Remove ( AnimationItem item ) : void
item AnimationItem
return void

RemoveAll() public method

public RemoveAll ( ) : void
return void