00001 //*************************************************************************************** 00002 // File supervisor: Crosswalk team 00012 //*************************************************************************************** 00013 00014 #ifndef _AMBIENCE_H 00015 #define _AMBIENCE_H 00016 00017 #include "Template.h" 00018 00025 class XSIEXPORT CSLAmbience 00026 : public CSLTemplate 00027 { 00028 public: 00034 CSLAmbience(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate); 00035 virtual ~CSLAmbience(); 00036 00040 CSIBCColorf GetColor(); 00041 00045 SI_Void SetColor(CSIBCColorf &in_rColor); 00046 00050 virtual ETemplateType Type(); 00051 00052 CSLAnimatableType* ParameterFromName(SI_Char *in_szName); 00053 CSLAnimatableType* ParameterFromType(EFCurveType in_Type, SI_Char *in_szParameterName); 00054 00055 CSLColorRGBProxy* GetColorProxy() { return &m_Color;}; 00056 00057 00058 private: 00059 CSLColorRGBProxy m_Color; 00060 00061 void *m_pReserved; // reserved for future extension 00062 }; 00063 00064 #endif