IScreen
public function setCamera(c:Camera3D):Void
Set the Camera3D for the screen.
c | The Camera3D.
|
public function getColor(Void):NumberReturns the background color
Number The color value
public function setColor(n:Number):VoidSet the color of the background and refresh the background of the screen.
n | The color number |
public function getClip(Void):MovieClipReturn the clip container.
The clip container.
public function setSize(r:Rectangle):VoidResize the screen. It makes the screen bigger or smaller, and the center of the rendered animation is modified too.
r | The new dimension of the viewport. Remember that you certainly have to change the camera projection too. |
public function getSize(Void):RectangleReturns the rectangle representing the screen dimensions.
A Rectangle.