VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::RigidBodyComponentSystem Class Reference

#include <framework/components/rigidbody/rigidBodyComponentSystem.h>

Inheritance diagram for visutwin::canvas::RigidBodyComponentSystem:
[legend]

Public Member Functions

std::vector< RaycastResultraycastAll (const Vector3 &start, const Vector3 &end) const
std::optional< RaycastResultraycastFirst (const Vector3 &start, const Vector3 &end) const
 RigidBodyComponentSystem (Engine *engine)
Public Member Functions inherited from visutwin::canvas::ComponentSystem< RigidBodyComponent, RigidBodyComponentData >
std::unique_ptr< ComponentaddComponent (Entity *entity) override
 ComponentSystem (Engine *engine, const std::string &id)
const std::type_info & componentType () const override
Public Member Functions inherited from visutwin::canvas::IComponentSystem
Engineengine () const
 IComponentSystem (Engine *engine, const std::string &id)
const std::string & id () const
virtual ~IComponentSystem ()=default

Additional Inherited Members

Protected Attributes inherited from visutwin::canvas::IComponentSystem
Engine_engine
std::string _id

Detailed Description

Definition at line 25 of file rigidBodyComponentSystem.h.

Constructor & Destructor Documentation

◆ RigidBodyComponentSystem()

visutwin::canvas::RigidBodyComponentSystem::RigidBodyComponentSystem ( Engine * engine)
inline

Member Function Documentation

◆ raycastAll()

◆ raycastFirst()

std::optional< RaycastResult > visutwin::canvas::RigidBodyComponentSystem::raycastFirst ( const Vector3 & start,
const Vector3 & end ) const

Definition at line 240 of file rigidBodyComponentSystem.cpp.

References raycastAll().


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