Deprecated: Function split() is deprecated in /home/wiki/public_html/inc/common.php on line 533

Warning: Cannot modify header information - headers already sent by (output started at /home/wiki/public_html/inc/common.php:533) in /home/wiki/public_html/inc/actions.php on line 71
tvrendersurface:setnewcamera [TV3DWiki]
 
Table of Contents

Wiki > TV3D65 Index > TVRenderSurface

SetNewCamera

DESCRIPTION

- You can set any TVCamera to a render surface. Each time you call Render, the 3D objects will be rendered from the viewpoint of that camera.

DECLARATION

VB.NET SetNewCamera(cCamera As TVCamera)
C++ void SetNewCamera(cTVCamera cCamera)

PARAMETERS

NAMEOPTIONALDESCRIPTION
cCameraNoThe new TVCamera to be set to this RS.

RETURN VALUE

Null Does not return a value.

EXAMPLES

ExampleBasic example.

TIPS

  • Make sure the aspect ratio is same for the camera and for the RS. If the RS is square, then set aspect ratio to 1.0 for the assigned camera.
 
tvrendersurface/setnewcamera.txt · Last modified: 2011/05/21 13:01 by 212.178.252.51