aboutsummaryrefslogtreecommitdiff
path: root/APEX_1.4/include/forcefield/ForceFieldAsset.h
blob: 639c59e313b1d3cacc1eef7529711bd55dbbfb07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
 * Copyright (c) 2008-2017, NVIDIA CORPORATION.  All rights reserved.
 *
 * NVIDIA CORPORATION and its licensors retain all intellectual property
 * and proprietary rights in and to this software, related documentation
 * and any modifications thereto.  Any use, reproduction, disclosure or
 * distribution of this software and related documentation without an express
 * license agreement from NVIDIA CORPORATION is strictly prohibited.
 */


#ifndef FORCE_FIELD_ASSET_H
#define FORCE_FIELD_ASSET_H

#include "Apex.h"
#include "ForceFieldPreview.h"

namespace nvidia
{
namespace apex
{

PX_PUSH_PACK_DEFAULT

#define FORCEFIELD_AUTHORING_TYPE_NAME "ForceFieldAsset"

class ForceFieldActor;

/**
 \brief ForceField Asset
 */
class ForceFieldAsset : public Asset
{
protected:
	/**
	\brief force field asset default destructor.
	*/
	virtual ~ForceFieldAsset() {}

public:
	/**
	\brief returns the default scale of the asset.
	*/
	virtual float		getDefaultScale() const = 0;

	/**
	\brief release an actor created from this asset.
	*/
	virtual void		releaseForceFieldActor(ForceFieldActor&) = 0;
};

/**
 \brief ForceField Asset Authoring
 */
class ForceFieldAssetAuthoring : public AssetAuthoring
{
protected:
	/**
	\brief force field asset authoring default destructor.
	*/
	virtual ~ForceFieldAssetAuthoring() {}

public:
};


PX_POP_PACK

} // namespace apex
} // namespace nvidia

#endif // FORCE_FIELD_ASSET_H