iemissioncolor.h

Go to the documentation of this file.
00001 /**********************************************************************
00002  *<
00003     FILE: IEmissionColor.h
00004 
00005     DESCRIPTION: Emission Color Extension Interface
00006 
00007     CREATED BY: Norbert Jeske
00008 
00009     HISTORY: Created 08/22/01
00010 
00011  *> Copyright (c) 2001, All Rights Reserved.
00012  **********************************************************************/
00013 #pragma once
00014 
00015 #include "baseinterface.h"
00016 #include "point3.h"
00017 
00018 #define EMISSION_COLOR_INTERFACE_ID Interface_ID(0x4f803aa8, 0x71611798)
00019 
00024 class IEmissionColor : public BaseInterface
00025 {
00026 public:
00031     virtual Interface_ID    GetID() { return EMISSION_COLOR_INTERFACE_ID; }
00032 
00033     // Interface Lifetime
00035     virtual LifetimeType    LifetimeControl() { return noRelease; }
00036 
00038     virtual void SetColor(Point3 color)=0;
00041     virtual Point3 GetColor()=0;
00042 
00045     virtual void SetAlpha(float alpha)=0;
00048     virtual float GetAlpha()=0;
00049 };
00050