RenderWorld()

语法

Result = RenderWorld([ElapsedPhysicTime])
概要
Renders the whole world on the screen. This function should be called once all 3D operations are finished and only one time per frame.

参数

ElapsedPhysicTime (optional) If set it will force the physic engine to use this value, in milliseconds, as elapsed time since the last call of RenderWorld. It can be useful to makes the physic simulation faster or slower than real-time.

返回值

Returns the elapsed time since the last frame in milliseconds. It can be useful to have an accurate time based simulation if the frame render time isn't stable.

Remarks

Once the RenderWorld() function has been performed, it's possible to use regular 2D functions like DisplaySprite() to display 2D sprites over the 3D world.

已支持操作系统

所有

<- RayPick() - Engine3D Index - Roll() ->