![]() |
Lysa
0.0
Lysa 3D Engine
|
Box-shaped collision Shape
Inheritance diagram for BoxShape:Public Member Functions | |
| BoxShape (const float3 &extends, PhysicsMaterial *material=nullptr, const std::string &resName="BoxShape") | |
| std::shared_ptr< Resource > | duplicate () const override |
Public Member Functions inherited from Shape | |
| Shape (const PhysicsMaterial *material, const std::string &resName) | |
| auto & | getMaterial () const |
Public Member Functions inherited from Resource | |
| Resource (const std::string &name) | |
| auto | getId () const |
| const auto & | getName () const |
| bool | operator== (const Resource &other) const |
| bool | operator< (const Resource &other) const |
| bool | operator> (const Resource &other) const |
Public Member Functions inherited from Object | |
| void | connect (const Signal::signal &name, const Signal::Handler &handler) |
| void | connect (const Signal::signal &name, const std::function< void ()> &handler) |
| void | emit (const Signal::signal &name, void *params=nullptr) |
| virtual std::string | toString () const |
| Object () = default | |
| virtual | ~Object () = default |
Additional Inherited Members | |
Protected Attributes inherited from Shape | |
| PhysicsMaterial * | material |
| BoxShape | ( | const float3 & | extends, |
| PhysicsMaterial * | material = nullptr, |
||
| const std::string & | resName = "BoxShape" |
||
| ) |
Creates a BoxShape with the given extents
|
overridevirtual |
Duplicates a resource. Warning: not implemented on all resource types, check documentation for the resource type before using it.
Reimplemented from lysa::Resource::duplicate()