Reference for OCD version 1.4 for use with Processing (BETA) version 125+. If you see any errors or have any comments, let me know.
Name |
feed() |
|
Examples |
import damkjer.ocd.*; Camera camera1, camera2; void setup() { size(100, 100, P3D); camera1 = new Camera(this, 100, -125, 150); camera2 = new Camera(this, 100); } void draw() { background(204); lights(); if (!mousePressed) { camera1.feed(); } else { camera2.feed(); } rotateY(PI/3); box(50); } |
|
Description |
Send what this camera sees to the view port. |
|
Syntax |
|
|
Parameters |
None |
|
Returns |
None |
|
Usage |
Web & Application |
|
Related |