AttractorFSActor.h
00001 /* 00002 * Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved. 00003 * 00004 * NVIDIA CORPORATION and its licensors retain all intellectual property 00005 * and proprietary rights in and to this software, related documentation 00006 * and any modifications thereto. Any use, reproduction, disclosure or 00007 * distribution of this software and related documentation without an express 00008 * license agreement from NVIDIA CORPORATION is strictly prohibited. 00009 */ 00010 00011 00012 #ifndef ATTRACTOR_FSACTOR_H 00013 #define ATTRACTOR_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 AttractorFSActor : public Actor, public Renderable 00031 { 00032 protected: 00033 virtual ~AttractorFSActor() {} 00034 00035 public: 00039 virtual BasicFSAsset* getAttractorFSAsset() const = 0; 00040 00044 virtual PxVec3 getCurrentPosition() const = 0; 00045 00049 virtual void setCurrentPosition(const PxVec3& pos) = 0; 00050 00054 virtual void setFieldRadius(float) = 0; 00055 00059 virtual void setConstFieldStrength(float) = 0; 00060 00064 virtual void setVariableFieldStrength(float) = 0; 00065 00069 virtual void setEnabled(bool isEnabled) = 0; 00070 00074 virtual void setCurrentScale(float scale) = 0; 00075 00079 virtual float getCurrentScale(void) const = 0; 00080 00081 }; 00082 00083 PX_POP_PACK 00084 00085 } 00086 } // end namespace nvidia::apex 00087 00088 #endif // ATTRACTOR_FSACTOR_H
Generated on Fri Dec 15 2017 13:58:35 Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.