00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef WIND_FSACTOR_H
00013 #define WIND_FSACTOR_H
00014
00015 #include "Apex.h"
00016
00017 namespace nvidia
00018 {
00019 namespace apex
00020 {
00021
00022 PX_PUSH_PACK_DEFAULT
00023
00024 class BasicFSAsset;
00025
00026
00030 class WindFSActor : public Actor, public Renderable
00031 {
00032 protected:
00033 virtual ~WindFSActor() {}
00034
00035 public:
00036
00040 virtual BasicFSAsset* getWindFSAsset() const = 0;
00041
00045 virtual PxMat44 getCurrentPose() const = 0;
00046
00050 virtual void setCurrentPose(const PxTransform& pose) = 0;
00051
00055 virtual PxVec3 getCurrentPosition() const = 0;
00056
00060 virtual void setCurrentPosition(const PxVec3& pos) = 0;
00061
00065 virtual void setFieldStrength(float) = 0;
00066
00070 virtual void setFieldDirection(const PxVec3&) = 0;
00071
00075 virtual void setEnabled(bool isEnabled) = 0;
00076
00080 virtual void setCurrentScale(float scale) = 0;
00081
00085 virtual float getCurrentScale(void) const = 0;
00086 };
00087
00088 PX_POP_PACK
00089
00090 }
00091 }
00092
00093 #endif // WIND_FSACTOR_H