56 lines
1.5 KiB
C++
56 lines
1.5 KiB
C++
// Filename: physxForceFieldShapeGroupDesc.h
|
|
// Created by: enn0x (11Nov09)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// PANDA 3D SOFTWARE
|
|
// Copyright (c) Carnegie Mellon University. All rights reserved.
|
|
//
|
|
// All use of this software is subject to the terms of the revised BSD
|
|
// license. You should have received a copy of this license along
|
|
// with this source code in a file named "LICENSE."
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef PHYSXFORCEFIELDSHAPEGROUPDESC_H
|
|
#define PHYSXFORCEFIELDSHAPEGROUPDESC_H
|
|
|
|
#include "pandabase.h"
|
|
|
|
#include "physxEnums.h"
|
|
#include "physx_includes.h"
|
|
|
|
class PhysxForceFieldShapeDesc;
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Class : PhysxForceFieldShapeGroupDesc
|
|
// Description :
|
|
////////////////////////////////////////////////////////////////////
|
|
class EXPCL_PANDAPHYSX PhysxForceFieldShapeGroupDesc : public PhysxEnums {
|
|
|
|
PUBLISHED:
|
|
INLINE PhysxForceFieldShapeGroupDesc();
|
|
INLINE ~PhysxForceFieldShapeGroupDesc();
|
|
|
|
INLINE void set_to_default();
|
|
INLINE bool is_valid() const;
|
|
|
|
void add_shape(PhysxForceFieldShapeDesc &desc);
|
|
|
|
void set_name(const char *name);
|
|
void set_flag(PhysxForceFieldShapeGroupFlag flag, bool value);
|
|
|
|
const char *get_name() const;
|
|
bool get_flag(PhysxForceFieldShapeGroupFlag flag) const;
|
|
|
|
public:
|
|
NxForceFieldShapeGroupDesc _desc;
|
|
|
|
private:
|
|
string _name;
|
|
};
|
|
|
|
#include "physxForceFieldShapeGroupDesc.I"
|
|
|
|
#endif // PHYSXFORCEFIELDSHAPEGROUPDESC_H
|