Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::Graph::CGraphComponent Class Reference
Inheritance diagram for Skylicht::Graph::CGraphComponent:
Skylicht::CComponentSystem Skylicht::IActivatorObject

Public Member Functions

virtual void initComponent ()
virtual void startComponent ()
virtual void updateComponent ()
virtual CObjectSerializablecreateSerializable ()
virtual void loadSerializable (CObjectSerializable *object)
void setInputMeshCollision (const char *source)
const char * getInputMeshCollision ()
void setInputRecastMesh (const char *source)
const char * getInputRecastMesh ()
bool haveInputRecastMesh ()
CMeshgetNavMesh ()
CObstacleAvoidancegetObstacle ()
CWalkingTileMapgetWalkingMap ()
CGraphQuerygetQuery ()
bool loadRecastMesh ()
bool buildRecastMesh ()
bool beginBuildWalkingMap ()
bool updateBuildWalkingMap ()
float getBuildPercent ()
bool saveWalkMap (const char *output)
bool loadWalkMap ()
void release ()
Public Member Functions inherited from Skylicht::CComponentSystem
const char * getName ()
virtual void reset ()
virtual void endUpdate ()
virtual void onEnable (bool b)
virtual void onUpdateCullingLayer (u32 mask)
void setEnable (bool b)
bool isEnable ()
CGameObject * getGameObject ()
void setEnableSerializable (bool b)
bool isSerializable ()
void addLinkComponent (CComponentSystem *comp)
void removeAllLink ()
Public Member Functions inherited from Skylicht::IActivatorObject
virtual ~IActivatorObject ()
 Virtual destructor for polymorphic activator objects.

Protected Attributes

CGraphQuerym_query
CRecastBuilderm_builder
CRecastMeshm_recastMesh
CObstacleAvoidancem_obstacle
CWalkingTileMapm_walkingTileMap
float m_cellSize
float m_cellHeight
float m_agentHeight
float m_agentRadius
float m_agentMaxClimb
float m_agentMaxSlope
float m_walkTileWidth
float m_walkTileHeight
std::string m_inputCollision
std::string m_inputRecastMesh
std::string m_inputWalkingTileMap
CMeshm_navMesh
Protected Attributes inherited from Skylicht::CComponentSystem
CGameObject * m_gameObject
bool m_enable
bool m_serializable
std::vector< CComponentSystem * > m_linkComponent

Additional Inherited Members

Static Public Member Functions inherited from Skylicht::CComponentSystem
static int useComponent (CComponentSystem *used)
Protected Member Functions inherited from Skylicht::CComponentSystem
void setOwner (CGameObject *obj)

Member Function Documentation

◆ createSerializable()

virtual CObjectSerializable * Skylicht::Graph::CGraphComponent::createSerializable ( )
virtual

Reimplemented from Skylicht::CComponentSystem.

◆ initComponent()

virtual void Skylicht::Graph::CGraphComponent::initComponent ( )
virtual

◆ loadSerializable()

virtual void Skylicht::Graph::CGraphComponent::loadSerializable ( CObjectSerializable * object)
virtual

Reimplemented from Skylicht::CComponentSystem.

◆ startComponent()

virtual void Skylicht::Graph::CGraphComponent::startComponent ( )
virtual

Reimplemented from Skylicht::CComponentSystem.

◆ updateComponent()

virtual void Skylicht::Graph::CGraphComponent::updateComponent ( )
virtual

The documentation for this class was generated from the following file: