C#Code
C#Code
Public Member Functions | Private Attributes
Libraries._3D.ModelProperties.AnimTextureProperty Class Reference
Inheritance diagram for Libraries._3D.ModelProperties.AnimTextureProperty:
Libraries._3D.ModelProperties.BaseModelProperty Libraries._3D.ModelProperties.BaseModelProperty

List of all members.

Public Member Functions

 AnimTextureProperty (string ID)
override bool Update (int timePassed, object model)
bool StoreInModel (BaseModel model)
Timers.ListFrameTimer GetFrameTimer ()
 AnimTextureProperty (string ID)
override bool Update (int timePassed, object model)
bool StoreInModel (BaseModel model)
Timers.ListFrameTimer GetFrameTimer ()

Private Attributes

Timers.ListFrameTimer m_animM
 Animation manager.

Detailed Description

Model property to do animated textures. It can do texture animation by changing the texture used and it can change the UV coordinates used.


Constructor & Destructor Documentation

Libraries._3D.ModelProperties.AnimTextureProperty.AnimTextureProperty ( string  ID)

Constructor.

ID - ID to use for the property. Pass null to make it a unnamed property.
Libraries._3D.ModelProperties.AnimTextureProperty.AnimTextureProperty ( string  ID)

Constructor.

ID - ID to use for the property. Pass null to make it a unnamed property.

Member Function Documentation

Timers.ListFrameTimer Libraries._3D.ModelProperties.AnimTextureProperty.GetFrameTimer ( )

Get the frame timer used by the animation.

Return:
Value is the frame timer used by the animation.

Timers.ListFrameTimer Libraries._3D.ModelProperties.AnimTextureProperty.GetFrameTimer ( )

Get the frame timer used by the animation.

Return:
Value is the frame timer used by the animation.

bool Libraries._3D.ModelProperties.AnimTextureProperty.StoreInModel ( BaseModel  model)

Store the property in the model, if possible.

model - Model the property is for.

Return:
Value is true if the property could be added to the model, false if not.
bool Libraries._3D.ModelProperties.AnimTextureProperty.StoreInModel ( BaseModel  model)

Store the property in the model, if possible.

model - Model the property is for.

Return:
Value is true if the property could be added to the model, false if not.
override bool Libraries._3D.ModelProperties.AnimTextureProperty.Update ( int  timePassed,
object  model 
) [virtual]

Handles updating the the property. Any effect it has on the model that owns it will be handled here.

timePassed - How much time has passed that the update should handle.
object - Model the property is in.

Return:
Value is true if the update was successful, false if not.

Implements Libraries._3D.ModelProperties.BaseModelProperty.

override bool Libraries._3D.ModelProperties.AnimTextureProperty.Update ( int  timePassed,
object  model 
) [virtual]

Handles updating the the property. Any effect it has on the model that owns it will be handled here.

timePassed - How much time has passed that the update should handle.
object - Model the property is in.

Return:
Value is true if the update was successful, false if not.

Implements Libraries._3D.ModelProperties.BaseModelProperty.


Member Data Documentation

Animation manager.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Properties