RenderTextureQuad class

Constructors

RenderTextureQuad(RenderTexture renderTexture, Rectangle<int> sourceRectangle, Rectangle<int> offsetRectangle, int rotation, num pixelRatio)
RenderTextureQuad.slice(RenderTextureQuad renderTextureQuad, Rectangle<int> sourceRectangle, Rectangle<int> offsetRectangle, [int rotation = 0])
factory

Properties

drawMatrix Matrix
The matrix transformation for this RenderTextureQuad to transform target coordinates to texture coordinates. [...]
read-only
hasCustomVertices bool
read-only
isEquivalentToSource bool
read-only
ixList Int16List
read-only
ixListQuad Int16List
final
offsetRectangle Rectangle<int>
final
pixelRatio num
final
renderTexture RenderTexture
final
rotation int
final
samplerMatrix Matrix
The matrix transformation for this RenderTextureQuad to transform target coordinates to sampler coordinates. [...]
read-only
sourceRectangle Rectangle<int>
final
targetHeight num
read-only
targetRectangle Rectangle<num>
read-only
targetWidth num
read-only
vxList Float32List
read-only
vxListQuad Float32List
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clip(Rectangle<num> rectangle) RenderTextureQuad
Clips a RenderTextureQuad from this RenderTextureQuad. The offset of the RenderTextureQuad will be adjusted to match the origin of this RenderTextureQuad. [...]
createImageData() ImageData
cut(Rectangle<num> rectangle) RenderTextureQuad
Cuts a RenderTextureQuad out of this RenderTextureQuad. The offset of the RenderTextureQuad will be adjusted to match the origin of the rectangle. [...]
getImageData() ImageData
putImageData(ImageData imageData) → void
setCustomVertices(Float32List vxList, Int16List ixList) → void
setQuadVertices() → void
withPixelRatio(num pixelRatio) RenderTextureQuad
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited