ForceFieldAsset.h
Go to the documentation of this file.
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 FORCE_FIELD_ASSET_H
00013 #define FORCE_FIELD_ASSET_H
00014 
00015 #include "Apex.h"
00016 #include "ForceFieldPreview.h"
00017 
00018 namespace nvidia
00019 {
00020 namespace apex
00021 {
00022 
00023 PX_PUSH_PACK_DEFAULT
00024 
00025 #define FORCEFIELD_AUTHORING_TYPE_NAME "ForceFieldAsset"
00026 
00027 class ForceFieldActor;
00028 
00032 class ForceFieldAsset : public Asset
00033 {
00034 protected:
00038     virtual ~ForceFieldAsset() {}
00039 
00040 public:
00044     virtual float       getDefaultScale() const = 0;
00045 
00049     virtual void        releaseForceFieldActor(ForceFieldActor&) = 0;
00050 };
00051 
00055 class ForceFieldAssetAuthoring : public AssetAuthoring
00056 {
00057 protected:
00061     virtual ~ForceFieldAssetAuthoring() {}
00062 
00063 public:
00064 };
00065 
00066 
00067 PX_POP_PACK
00068 
00069 } // namespace apex
00070 } // namespace nvidia
00071 
00072 #endif // FORCE_FIELD_ASSET_H

Generated on Tue Aug 1 2017 22:44:02

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.