Files
RCBASIC4/doc/doc_files/opencanvas3d.html
2024-10-27 11:52:28 -04:00

30 lines
849 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>OpenCanvas3D [RCBasic Doc] </title>
</head>
<body>
<p><h2>function OpenCanvas3D( viewport_x, viewport_y, viewport_w, viewport_h, mode) </h2></p>
<p>
Returns a 3D Canvas for viewing the scene.
</p>
<p>
Returns -1 if canvas could not be created.
</p>
<p>
Note: Each 3D canvas has its own camera so you need to make sure you have the canvas active before doing anything with the camera
</p>
<p>
Note: 2D drawing commands do not work on 3D canvases. You need to open a 2D canvas for drawing images.
</p>
<br><p>Related:
<a href="opencanvas.html">OpenCanvas</a>
<a href="opencanvasspritelayer.html">OpenCanvasSpriteLayer</a>
</p>
<p>
</body>
</html>