# Ambience.h

    00001 //***************************************************************************************
    00002 //
    00003 // File supervisor: Crosswalk team
    00004 //
    00005 // Copyright 2008 Autodesk, Inc.  All rights reserved.
    00006 // Use of this software is subject to the terms of the Autodesk license agreement
    00007 // provided at the time of installation or download, or which otherwise accompanies
    00008 // this software in either electronic or hard copy form.
    00009 //
    00010 //***************************************************************************************
    00011
    00012 #ifndef _AMBIENCE_H
    00013 #define _AMBIENCE_H
    00014
    00015 #include "Template.h"
    00016
    00022 class XSIEXPORT CSLAmbience
    00023     : public CSLTemplate
    00024 {
    00025 public:
    00031     CSLAmbience(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate);
    00032     virtual ~CSLAmbience();
    00033
    00037     CSIBCColorf GetColor();
    00038
    00042     SI_Void SetColor(CSIBCColorf &in_rColor);
    00043
    00047     virtual ETemplateType Type();
    00048
    00049     CSLAnimatableType* ParameterFromName(SI_Char *in_szName);
    00050     CSLAnimatableType* ParameterFromType(EFCurveType in_Type, SI_Char *in_szParameterName);
    00051
    00052     CSLColorRGBProxy*   GetColorProxy() { return &m_Color;};
    00053
    00054
    00055 private:
    00056     CSLColorRGBProxy m_Color;
    00057
    00058     void *m_pReserved;  // reserved for future extension
    00059 };
    00060
    00061 #endif