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
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isEquivalentToSource → bool
-
read-only
- ixList → Int16List
-
read-only
- ixListQuad → Int16List
-
final
-
offsetRectangle
→ Rectangle<
int> -
final
- pixelRatio → num
-
final
- renderTexture → RenderTexture
-
final
- rotation → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- 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
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 -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
putImageData(
ImageData imageData) → void -
setCustomVertices(
Float32List vxList, Int16List ixList) → void -
setQuadVertices(
) → void -
toString(
) → String -
A string representation of this object. [...]
inherited
-
withPixelRatio(
num pixelRatio) → RenderTextureQuad
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited