CSEngine
Loading...
Searching...
No Matches
CSE::MoreComponentFunc Class Reference

Static Public Member Functions

static void BindComponentToSQInstance (SComponent *component, std::string name, sqext::SQIClassInstance *instance)
 

Detailed Description

Definition at line 11 of file MoreComponentFunc.h.

Member Function Documentation

◆ BindComponentToSQInstance()

void MoreComponentFunc::BindComponentToSQInstance ( SComponent * component,
std::string name,
sqext::SQIClassInstance * instance )
static

Definition at line 22 of file MoreComponentFunc.cpp.

23 {
24 std::string component_type = component->GetClassType();
25
26 BIND_COMPONENT_MACRO(AnimatorComponent);
27 BIND_COMPONENT_MACRO(JointComponent);
28 BIND_COMPONENT_MACRO(CameraComponent);
29 BIND_COMPONENT_MACRO(CustomComponent);
30 BIND_COMPONENT_MACRO(DrawableSkinnedMeshComponent);
31 BIND_COMPONENT_MACRO(DrawableStaticMeshComponent);
32 BIND_COMPONENT_MACRO(LightComponent);
33 BIND_COMPONENT_MACRO(RenderComponent);
34 BIND_COMPONENT_MACRO(TransformComponent);
35}

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