|
0.45.0
|
#include <iGlobalBoundaryComponent.h>
Inherits igor::iEntityComponent.
Public Member Functions | |
| iGlobalBoundaryComponent (iGlobalBoundaryType type=iGlobalBoundaryType::Normal) | |
| iGlobalBoundaryType | getType () const |
| void | setType (iGlobalBoundaryType type) |
| std::vector< iaString > | getInfo () const override |
Public Member Functions inherited from igor::iEntityComponent | |
| iEntityComponent () | |
| virtual | ~iEntityComponent ()=default |
| const iEntityComponentID & | getID () const |
| iEntityComponentState | getState () const |
| virtual std::vector< iaString > | getInfo () const |
| IGOR_INLINE void | setDirty () |
| uint16 | getVersion () const |
Static Public Member Functions | |
| static iEntityComponent * | createInstance () |
| static const iaString & | getTypeName () |
Additional Inherited Members | |
Protected Member Functions inherited from igor::iEntityComponent | |
| virtual bool | onLoad (iEntityPtr entity, bool &asyncLoad) |
| virtual void | onActivate (iEntityPtr entity) |
| virtual void | onDeactivate (iEntityPtr entity) |
| virtual void | onUnLoad (iEntityPtr entity) |
| virtual iEntityComponentPtr | getCopy ()=0 |
| iEntityPtr | getEntity () const |
keeps entities within some global boundaries
check the scene interface for configuring the global boundaries
| igor::iGlobalBoundaryComponent::iGlobalBoundaryComponent | ( | iGlobalBoundaryType | type = iGlobalBoundaryType::Normal | ) |
ctor
| type | the type to set |
|
static |
creates instance of this component type
|
overridevirtual |
Reimplemented from igor::iEntityComponent.
| iGlobalBoundaryType igor::iGlobalBoundaryComponent::getType | ( | ) | const |
|
static |
| void igor::iGlobalBoundaryComponent::setType | ( | iGlobalBoundaryType | type | ) |
sets global boundary type
| type | the type to set |