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.
no setter
- hasCustomVertices → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEquivalentToSource → bool
-
no setter
- ixList → Int16List
-
no setter
- 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.
no setterinherited
- samplerMatrix → Matrix
-
The matrix transformation for this RenderTextureQuad to
transform target coordinates to sampler coordinates.
no setter
-
sourceRectangle
→ Rectangle<
int> -
final
- targetHeight → num
-
no setter
-
targetRectangle
→ Rectangle<
num> -
no setter
- targetWidth → num
-
no setter
- vxList → Float32List
-
no setter
- 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 nonexistent 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