FlxDrawQuadsItem
| Kind | class |
| Package | flixel.graphics.tile |
| Full name | flixel.graphics.tile.FlxDrawQuadsItem |
| Source | source/source-haxelib-patches/flixel/graphics/tile/FlxDrawQuadsItem.hx |
| Extends | FlxDrawBaseItem<FlxDrawQuadsItem> |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
shader | FlxShader | no | — | — |
Public methods
new (constructor)
function new()
reset
override function reset():Void
dispose
override function dispose():Void
addQuad
override function addQuad(frame:FlxFrame, matrix:FlxMatrix, ?transform:ColorTransform):Void
| Parameter | Type | Default |
|---|---|---|
frame | FlxFrame | — |
matrix | FlxMatrix | — |
transform (optional) | ColorTransform | — |
render
override function render(camera:FlxCamera):Void
| Parameter | Type | Default |
|---|---|---|
camera | FlxCamera | — |
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
VERTICES_PER_QUAD | — | yes |
rects | Vector<Float> | no |
transforms | Vector<Float> | no |
alphas | Array<Float> | no |
colorMultipliers | Array<Float> | no |
colorOffsets | Array<Float> | no |
| Method |
|---|
inline function setParameterValue(parameter:ShaderParameter<Bool>, value:Bool):Void |