C#Code
C#Code
Public Member Functions | Public Attributes
Libraries._3D.ModelProperties.TextureFrame Class Reference
Inheritance diagram for Libraries._3D.ModelProperties.TextureFrame:
Libraries._3D.ModelProperties.BaseTexAnimFrame Libraries._3D.ModelProperties.BaseTexAnimFrame

List of all members.

Public Member Functions

 TextureFrame ()
 TextureFrame (Libraries.Textures.BaseTexture2D texture, string texName)
override void SetModel (BaseModel model)
void SetTexture (Libraries.Textures.BaseTexture2D texture, string texName)
 TextureFrame ()
 TextureFrame (Libraries.Textures.BaseTexture2D texture, string texName)
override void SetModel (BaseModel model)
void SetTexture (Libraries.Textures.BaseTexture2D texture, string texName)

Public Attributes

Libraries.Textures.BaseTexture2D m_texture
 Texture to use.
string m_texName
 Name of the texture property to set in the model to set.

Detailed Description

Contains a single frame worth of texture animation data.


Constructor & Destructor Documentation

Libraries._3D.ModelProperties.TextureFrame.TextureFrame ( )

Default constructor.

Libraries._3D.ModelProperties.TextureFrame.TextureFrame ( Libraries.Textures.BaseTexture2D  texture,
string  texName 
)

Constructor.

texture - Texture to use.
texName - Name of the texture to set in the model's shader.
Libraries._3D.ModelProperties.TextureFrame.TextureFrame ( )

Default constructor.

Libraries._3D.ModelProperties.TextureFrame.TextureFrame ( Libraries.Textures.BaseTexture2D  texture,
string  texName 
)

Constructor.

texture - Texture to use.
texName - Name of the texture to set in the model's shader.

Member Function Documentation

override void Libraries._3D.ModelProperties.TextureFrame.SetModel ( BaseModel  model) [virtual]

Set the model to have the values from the frame.

model - Model to set.

Implements Libraries._3D.ModelProperties.BaseTexAnimFrame.

override void Libraries._3D.ModelProperties.TextureFrame.SetModel ( BaseModel  model) [virtual]

Set the model to have the values from the frame.

model - Model to set.

Implements Libraries._3D.ModelProperties.BaseTexAnimFrame.

void Libraries._3D.ModelProperties.TextureFrame.SetTexture ( Libraries.Textures.BaseTexture2D  texture,
string  texName 
)

Set the texture data that should be used for the frame.

texture - Texture to use.
texName - Name of the texture to set in the model's shader.
void Libraries._3D.ModelProperties.TextureFrame.SetTexture ( Libraries.Textures.BaseTexture2D  texture,
string  texName 
)

Set the texture data that should be used for the frame.

texture - Texture to use.
texName - Name of the texture to set in the model's shader.

Member Data Documentation

Name of the texture property to set in the model to set.

Texture to use.


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