Go
to the documentation of this file.
00001
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #pragma once
00014
00015 #include "PFExport.h"
00016 #include "..\ifnpub.h"
00017
00018
00019
00020 #define PARTICLECHANNELBOOLR_INTERFACE Interface_ID(0x74f93c04, 0x1eb34500)
00021 #define PARTICLECHANNELBOOLW_INTERFACE Interface_ID(0x74f93c04, 0x1eb34501)
00022
00023
00024
00025
00026
00027
00028 class IParticleChannelBoolR : public FPMixinInterface
00029 {
00030 public:
00031
00032
00033 enum { kGetValue,
00034 kIsGlobal,
00035 kGetValueGlobal
00036 };
00037
00038
00039
00040 BEGIN_FUNCTION_MAP
00041
00042 FN_1(kGetValue, TYPE_bool, GetValue, TYPE_INT);
00043 FN_0(kIsGlobal, TYPE_bool, IsGlobal);
00044 FN_0(kGetValueGlobal, TYPE_bool, GetValue);
00045
00046 END_FUNCTION_MAP
00047
00055 virtual bool GetValue(int index) const = 0;
00056
00060 virtual bool IsGlobal() const = 0;
00061
00065 virtual bool GetValue() const = 0;
00066
00070 FPInterfaceDesc* GetDesc() { return GetDescByID(PARTICLECHANNELBOOLR_INTERFACE); }
00071 };
00072
00073 class IParticleChannelBoolW : public FPMixinInterface
00074 {
00075 public:
00076
00077
00078 enum { kSetValue,
00079 kSetValueGlobal,
00080 };
00081
00082
00083
00084 BEGIN_FUNCTION_MAP
00085
00086 VFN_2(kSetValue, SetValue, TYPE_INT, TYPE_bool);
00087 VFN_1(kSetValueGlobal, SetValue, TYPE_bool);
00088
00089 END_FUNCTION_MAP
00090
00098 virtual void SetValue(int index, bool value) = 0;
00099
00103 virtual void SetValue(bool value) = 0;
00104
00108 FPInterfaceDesc* GetDesc() { return GetDescByID(PARTICLECHANNELBOOLW_INTERFACE); }
00109 };
00110