![]() |
Xors3d Engine
|
Functions | |
BBDECL xWorld *BBCALL | xCreateWorld () |
Creates a new world and returns its handle. | |
BBDECL void BBCALL | xDeleteWorld (xWorld *world) |
Frees up a world. | |
BBDECL xWorld *BBCALL | xGetActiveWorld () |
Returns a current active world. | |
BBDECL xWorld *BBCALL | xGetDefaultWorld () |
Returns a default world. | |
BBDECL void BBCALL | xSetActiveWorld (xWorld *world) |
Sets a current active world. |
BBDECL xWorld* BBCALL xCreateWorld | ( | ) |
Creates a new world and returns its handle.
You can create several worlds, and then all the functions, such as xRenderWorld() or functions for creation and loading of meshes, will affect the current active world. Upon initialization, the engine creates a single primary world. It can be obtained with xGetDefaultWorld() and can not be deleted.
BBDECL void BBCALL xSetActiveWorld | ( | xWorld * | world | ) |
Sets a current active world.
world | World handle to set as an active world. |
BBDECL xWorld* BBCALL xGetActiveWorld | ( | ) |
Returns a current active world.
BBDECL xWorld* BBCALL xGetDefaultWorld | ( | ) |
Returns a default world.
BBDECL void BBCALL xDeleteWorld | ( | xWorld * | world | ) |
Frees up a world.
world | Handle of world to be deleted. |