CreateCamera
Creates a camera.
CreateCamera ( [parent] )
Parameters
- parent (optional)
- an entity to attach the camera to, so it moves with it, or 0 for none.
Description
Creates a camera, your eye in the 3D world, and gives back its handle. Move and turn it like any entity; RenderWorld draws what it sees. A new camera looks along z, sees from 1 to 1000 units away, fills the display and clears to black. Several cameras can share the display, each in its own CameraViewport.
