33 INLINE
bool get_active()
const;
34 INLINE
void set_active(
bool active);
35 virtual bool is_linear()
const = 0;
38 INLINE
NodePath get_force_node_path()
const;
40 virtual void output(std::ostream &out)
const;
41 virtual void write(std::ostream &out,
int indent_level=0)
const;
56 static void init_type() {
57 TypedReferenceCount::init_type();
59 TypedReferenceCount::get_class_type());
62 return get_class_type();
64 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A force that lives in the scene graph and is therefore subject to local coordinate systems.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
pure virtual base class for all forces that could POSSIBLY exist.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...