camera - handle of the camera to zoom zoomfactor# - How far zoom in |
This command is used to update both the camera and
the sprite pivot simultaneously. You need to call this command to ensure the sprites are displayed correctly when zooming the camera. You can only use values of 1 or greater with this command. The main camera is either one you create
yourself or the one created by using SpriteGraphics3D If you have your own camera setup then use CreateSpritePivot() and attach it to this camera: mycam=CreateCamera() See Also: SpriteGraphics3D CreateSpritePivot() |
Include "Sprite Control.bb" SpriteGraphics3D 640,480 mysprite=LoadImage3D("myimage.bmp") CameraZoom3D spritecamera,1.5 RenderWorld |