Package: pumpkin.display

Graphics

function drawRectUV( texture : Texture, srcRect : Rect, drawRect : Rect ) : GraphicsDrawOP

Parameters

texture

srcRect

Source rectangle in UV space.

drawRect

Draw rectangle in pixels.


Description
Draw Rectangle using a Texture.

Any material can be used, if the DisplayObject is attached to a MovieClipOverlayCameraBehaviour then no lighting will be available.