Class StaticMeshColliderComponent¶
Defined in File static_mesh_collider_component.h
Inheritance Relationships¶
Base Type¶
public RigidBodyComponent
(Class RigidBodyComponent)
Class Documentation¶
-
class
StaticMeshColliderComponent
: public RigidBodyComponent¶ Collision component with a 3D model as its shape.
Public Functions
-
~StaticMeshColliderComponent
()¶
-
bool
setupData
()¶ Perform setting up internal data needed from other components after they have been added to the owning entity.
-
void
setCollisionModel
(Ref<CollisionModelResourceFile> file)¶
-
JSON::json
getJSON
() const¶ Get JSON representation of the component data needed to re-construct component from memory.
-
void
draw
()¶ Expose the component data with ImGui.
-