Constructor World
World(string, WorldFlags)
Construct a new World instance
Declaration
public World(string name, WorldFlags flags = WorldFlags.Simulation)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name to assign to the new World |
WorldFlags | flags | The flags to assign to the new World |
World(string, WorldFlags, AllocatorHandle)
Construct a new World instance
Declaration
public World(string name, WorldFlags flags, AllocatorManager.AllocatorHandle backingAllocatorHandle)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name to assign to the new World |
WorldFlags | flags | The flags to assign to the new World |
AllocatorManager.AllocatorHandle | backingAllocatorHandle | The allocator to use for any of the world's internal memory allocations |