SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::WorldFunctions Class Reference

World Functions Class. More...

#include <WorldFunctions.h>

Static Public Member Functions

static void CreateMeshEntity (World *world, const std::string &name, std::function< std::shared_ptr< Mesh >()> onMeshCreated, std::function< void(Entity &)> onAdded=nullptr)
 Create Entity with a Basic MeshComponent Async.
 

Static Private Member Functions

static void CreateMeshEntity (World *world, const std::string &name, const std::shared_ptr< Mesh > &mesh, std::function< void(Entity &)> onAdded=nullptr)
 Create Entity with MeshComponent. Lightweight for game thread.
 

Detailed Description

World Functions Class.

Definition at line 27 of file WorldFunctions.h.


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