|
ZeroZero Game Engine
v0.0
A 3D game engine using Vulkan & Jolt
|
A mesh shape, consisting of triangles. Must only be used with a StaticBody (like a terrain for example)
Public Member Functions | |
| MeshShape (const shared_ptr< Node > &node, const string &resName="MeshShape") | |
| MeshShape (const Node &node, const string &resName="MeshShape") | |
Public Member Functions inherited from Resource | |
| auto | getId () const |
| const auto & | getName () const |
| string | toString () const override |
| virtual shared_ptr< Resource > | duplicate () const |
Public Member Functions inherited from Object | |
| void | connect (const Signal::signal &name, const Signal::Handler &handler) |
| void | connect (const Signal::signal &name, const function< void ()> &handler) |
| void | emit (const Signal::signal &name, void *params=nullptr) |
|
explicit |
Creates a MeshShape using the triangles of the Mesh of first MeshInstance found in the node tree
|
explicit |
Creates a MeshShape using the triangles of the Mesh of first MeshInstance found in the node tree
1.7.0