Go to the documentation
of this file.
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #pragma once
00022
00023 #include "..\baseinterface.h"
00024 #include "..\maxtypes.h"
00025
00026
00027 class Interval;
00028
00030 #define MRSKYENVSHADER_CLASS_ID Class_ID(0x628e269e, 0x72386abf)
00031
00032 #define IID_MR_PHYSICAL_SKY_ENV_MAP Interface_ID(0x72941467, 0x1a8f3ae2)
00033
00034 class Texmap;
00035
00037
00046 class IMRPhysicalSkyEnvironmentMap : public BaseInterface {
00047 public:
00049 virtual Interface_ID GetID() { return IID_MR_PHYSICAL_SKY_ENV_MAP; };
00050
00052 virtual ~IMRPhysicalSkyEnvironmentMap() {};
00053
00058
00059
00064 virtual bool getInheritFromSky(TimeValue &t, Interval &valid) const = 0;
00070 virtual bool setInheritFromSky(TimeValue t, bool inherits) = 0;
00072
00081
00082
00087 virtual bool getBackgroundEnabled(TimeValue &t, Interval &valid) const = 0;
00093 virtual bool setBackgroundEnabled(TimeValue t, bool enableBackground) = 0;
00095
00098
00099
00104 virtual float getSunDiskIntensity(TimeValue &t, Interval &valid) const = 0;
00110 virtual bool setSunDiskIntensity(TimeValue t, float sunDiskIntensity) = 0;
00112
00115
00116
00121 virtual float getSunDiskScale(TimeValue &t, Interval &valid) const = 0;
00127 virtual bool setSunDiskScale(TimeValue t, float sunDiskScale) = 0;
00129
00132
00133
00138 virtual float getSunGlowIntensity(TimeValue &t, Interval &valid) const = 0;
00144 virtual bool setSunGlowIntensity(TimeValue t, float sunGlowIntensity) = 0;
00146
00150
00151
00156 virtual Texmap* getBackground(TimeValue &t, Interval &valid) const = 0;
00162 virtual bool setBackground(TimeValue t, Texmap* background) = 0;
00164 };
00165