Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

BlitMaterial

Eredita: Material < Resource < RefCounted < Object

A material that processes blit calls to a DrawableTexture.

Descrizione

A material resource that can be used by DrawableTextures when processing blit calls to draw.

Proprietà

BlendMode

blend_mode

0


Enumerazioni

enum BlendMode: 🔗

BlendMode BLEND_MODE_MIX = 0

Modalità di fusione mista. Si presuppone che i colori siano indipendenti dal valore alfa (opacità).

BlendMode BLEND_MODE_ADD = 1

Modalità di fusione additiva.

BlendMode BLEND_MODE_SUB = 2

Modalità di fusione sottrattiva.

BlendMode BLEND_MODE_MUL = 3

Modalità di fusione moltiplicativa.

BlendMode BLEND_MODE_DISABLED = 4

No blending mode, direct color copy.


Descrizioni delle proprietà

BlendMode blend_mode = 0 🔗

The manner in which the newly blitted texture is blended with the original DrawableTexture.