|
NewWorld | |
WorldIndex = NewWorld() | |
Parameters: NONE | |
Returns: WorldIndex = The Index of the newly created world |
|
The NewWorld() function dynamically initializes an empty world space where you can capture gfx commands to. Unlike CreateWorld, NewWorld will return this new worlds index for you. To Learn more about worlds, please see the CreateWorld command. Mini Tutorial: This example first creates a world, then fills this world buffer full of static stars. During the main loop it then grabs a camera full of this world data and places it into the scenebuffer for drawing. Next it calls the camera to render it. This allows us to mix data from different worlds, through different cameras, and maintain the scenes depth.
|
Related Info: | CreateWorld | DeleteWorld | GetFreeWorld | GetWorldStatus : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |