Cyrus Mod Loader
Loading...
Searching...
No Matches
TileMaterial Class Reference

#include <TileMaterial.h>

Inheritance diagram for TileMaterial:
Material PropertyClass

Public Member Functions

int getTilesX ()
 
void setTilesX (int val)
 
int getTilesY ()
 
void setTilesY (int val)
 
bool CalculateFrames ()
 
int GetTilesX ()
 
void SetTilesX (int a0)
 
int GetTilesY ()
 
void SetTilesY (int a0)
 
- Public Member Functions inherited from Material
std::wstring getSMaterialName ()
 
void setSMaterialName (std::wstring val)
 
Material__Blending getBlending ()
 
void setBlending (Material__Blending val)
 
Material__Repeating getERepeat ()
 
void setERepeat (Material__Repeating val)
 
SharedPointer< Texture > * getPDiffuseMap ()
 
void setPDiffuseMap (SharedPointer< Texture > *val)
 
SharedPointer< Texture > * getPAlphaMask ()
 
void setPAlphaMask (SharedPointer< Texture > *val)
 
float getFLastAlpha ()
 
void setFLastAlpha (float val)
 
Color getDiffuse ()
 
void setDiffuse (Color val)
 
Color getAmbient ()
 
void setAmbient (Color val)
 
Color getSpecular ()
 
void setSpecular (Color val)
 
float getFSpecularPower ()
 
void setFSpecularPower (float val)
 
Vector< Rect< float > > getFrames ()
 
void setFrames (Vector< Rect< float > > val)
 
int getNCurrentFrame ()
 
void setNCurrentFrame (int val)
 
float getFAnimRate ()
 
void setFAnimRate (float val)
 
int getNAnimBegin ()
 
void setNAnimBegin (int val)
 
int getNAnimEnd ()
 
void setNAnimEnd (int val)
 
float getFAnimTime ()
 
void setFAnimTime (float val)
 
float getFMaterialScaleX ()
 
void setFMaterialScaleX (float val)
 
float getFMaterialScaleY ()
 
void setFMaterialScaleY (float val)
 
bool CalculateMaterialUVs ()
 
void SetUVCoords (Rect< float > a0, int a1)
 
std::wstring GetMaterialName ()
 
void SetMaterialName (std::wstring a0)
 
Material__Blending GetBlending ()
 
void SetBlending (Material__Blending a0)
 
Material__Repeating GetMaterialRepeat ()
 
void SetMaterialRepeat (Material__Repeating a0)
 
SharedPointer< TextureGetDiffuseTexture ()
 
bool SetDiffuseTexture (Texture a0)
 
SharedPointer< TextureGetAlphaMaskTexture ()
 
bool SetAlphaMaskTexture (Texture a0)
 
int GetCurrentFrame ()
 
void SetCurrentFrame (int a0)
 
float GetRate ()
 
void SetRate (float a0)
 
int GetAnimBegin ()
 
void SetAnimBegin (int a0)
 
int GetAnimEnd ()
 
void SetAnimEnd (int a0)
 
float GetAnimTime ()
 
void SetAnimTime (float a0)
 
- Public Member Functions inherited from PropertyClass
virtual char * getClassName ()=0
 Gets the class name of the derived class in the format class T[*].
 
virtual void * getPropertyList ()=0
 Constructs and caches the PropertyList for the derived class, adding all reflected members and member functions.
 
virtual bool copy (uint32_t a1)=0
 Copies the property class data.
 
virtual void * serialize (void *a2, uint32_t a3)=0
 Serializes the derived class's PropertyList as XML.
 
virtual bool onCreated ()=0
 Called when the PropertyClass is created.
 
template<typename T >
CYRUS T * as ()
 Casts this to a pointer of type T.
 
virtual void onPostLoad ()=0
 Called when the PropertyClass is loaded, i.e., initialize is called and onCreated has finished.
 
virtual void onFinalizeLoad ()=0
 
virtual bool shouldNotSerialize ()=0
 Determines if the PropertyClass should not be serialized.
 

Member Function Documentation

◆ CalculateFrames()

bool TileMaterial::CalculateFrames ( )
inline

◆ GetTilesX()

int TileMaterial::GetTilesX ( )
inline

◆ getTilesX()

int TileMaterial::getTilesX ( )
inline

◆ GetTilesY()

int TileMaterial::GetTilesY ( )
inline

◆ getTilesY()

int TileMaterial::getTilesY ( )
inline

◆ SetTilesX()

void TileMaterial::SetTilesX ( int a0)
inline

◆ setTilesX()

void TileMaterial::setTilesX ( int val)
inline

◆ SetTilesY()

void TileMaterial::SetTilesY ( int a0)
inline

◆ setTilesY()

void TileMaterial::setTilesY ( int val)
inline