![]() |
Skylicht Engine
|
Public Member Functions | |
| virtual void | initComponent () |
| virtual void | initFromPrefab (CEntityPrefab *prefab) |
| virtual CEntity * | spawn () |
| int | getClipFrameOffset (int clipId) |
| void | allocFrames (u32 numFrames) |
| void | bakeSkinnedMesh (u32 frame) |
| void | beginBake () |
| void | setClipFrameOffset (u32 id, u32 frames) |
| void | endBake () |
| Public Member Functions inherited from Skylicht::CRenderMeshInstancing | |
| virtual void | updateComponent () |
| virtual CObjectSerializable * | createSerializable () |
| virtual void | loadSerializable (CObjectSerializable *object) |
| virtual void | refreshModelAndMaterial () |
| virtual CEntity * | spawn (const core::matrix4 &transform) |
| const std::string & | getMeshResource () |
| const std::string & | getMaterialResource () |
| void | initFromMeshFile (const char *path, bool loadNormalMap=true, bool loadTexcoord2=false) |
| void | initMaterialFromFile (const char *material) |
| void | initMaterial (ArrayMaterial &materials, bool cloneMaterial=false) |
| void | applyShareTransformBuffer () |
| void | applyShareMaterialBuffer () |
| int | getMaterialCount () |
| CMaterial * | getMaterial (int i) |
| core::array< CEntity * > & | getBaseEntities () |
| std::vector< CRenderMeshData * > & | getRenderers () |
| std::vector< CWorldTransformData * > & | getRenderTransforms () |
| std::vector< CWorldTransformData * > & | getAllTransforms () |
| Public Member Functions inherited from Skylicht::CEntityHandler | |
| virtual void | onUpdateCullingLayer (u32 mask) |
| CEntity * | searchEntityByID (const char *id) |
| virtual CEntity * | createEntity () |
| virtual CEntity * | createEntity (CEntity *parent) |
| virtual void | removeEntity (CEntity *entity) |
| virtual void | removeAllEntities () |
| void | regenerateEntityId () |
| core::array< CEntity * > & | getEntities () |
| int | getEntityCount () |
| void | getEntitiesTransforms (core::array< core::matrix4 > &result) |
| void | setShadowCasting (bool b) |
| bool | isShadowCasting () |
| Public Member Functions inherited from Skylicht::CComponentSystem | |
| const char * | getName () |
| virtual void | reset () |
| virtual void | startComponent () |
| virtual void | endUpdate () |
| virtual void | onEnable (bool b) |
| 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. | |
Static Public Member Functions | |
| static bool | setAnimation (CEntity *entity, int clipId, CAnimationClip *clipInfo, float currentTime=0.0f, int bakeFps=60, int skeletonId=0, bool loop=true, bool pause=false) |
| static bool | setAnimation (CEntity *entity, int clipId, CAnimationClip *clipInfo, float clipBegin, float clipDuration, float currentTime=0.0f, int bakeFps=60, int skeletonId=0, bool loop=true, bool pause=false) |
| static void | setAnimationWeight (CEntity *entity, int skeletonId, float weight) |
| Static Public Member Functions inherited from Skylicht::CComponentSystem | |
| static int | useComponent (CComponentSystem *used) |
Protected Attributes | |
| int | m_clipOffset [10] |
| Protected Attributes inherited from Skylicht::CRenderMeshInstancing | |
| CEntity * | m_root |
| core::array< CEntity * > | m_baseEntities |
| std::vector< CWorldTransformData * > | m_renderTransforms |
| std::vector< CWorldTransformData * > | m_transforms |
| std::vector< CRenderMeshData * > | m_renderers |
| ArrayMaterial | m_materials |
| std::string | m_meshFile |
| std::string | m_materialFile |
| bool | m_loadTexcoord2 |
| bool | m_loadNormal |
| bool | m_fixInverseNormal |
| IVertexBuffer * | m_instancingMaterials |
| IVertexBuffer * | m_instancingTransform |
| IVertexBuffer * | m_instancingLighting |
| int | m_shareDataTransform |
| int | m_shareDataMaterials |
| Protected Attributes inherited from Skylicht::CEntityHandler | |
| core::array< CEntity * > | m_entities |
| bool | m_shadowCasting |
| Protected Attributes inherited from Skylicht::CComponentSystem | |
| CGameObject * | m_gameObject |
| bool | m_enable |
| bool | m_serializable |
| std::vector< CComponentSystem * > | m_linkComponent |
Additional Inherited Members | |
| Protected Member Functions inherited from Skylicht::CRenderMeshInstancing | |
| virtual void | releaseMaterial () |
| virtual void | releaseEntities () |
| virtual void | releaseBaseEntities () |
| void | addRendererInstancing (CEntity *entity, CRenderMeshData *baseRenderMesh, CWorldTransformData *baseTransform) |
| void | addMaterial (CMaterial *material) |
| Protected Member Functions inherited from Skylicht::CEntityHandler | |
| void | setEntities (CEntity **entities, u32 count) |
| void | removeChilds (CEntity *entity) |
| Protected Member Functions inherited from Skylicht::CComponentSystem | |
| void | setOwner (CGameObject *obj) |
|
virtual |
Reimplemented from Skylicht::CRenderMeshInstancing.
|
virtual |
Reimplemented from Skylicht::CRenderMeshInstancing.
|
virtual |
Reimplemented from Skylicht::CRenderMeshInstancing.