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

繼承: Material < Resource < RefCounted < Object

A material that processes blit calls to a DrawableTexture.

說明

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

屬性

BlendMode

blend_mode

0


列舉

enum BlendMode: 🔗

BlendMode BLEND_MODE_MIX = 0

混合混合模式。假設顏色與 Alpha 值(不透明度)無關。

BlendMode BLEND_MODE_ADD = 1

新增混合模式。

BlendMode BLEND_MODE_SUB = 2

減去混合模式。

BlendMode BLEND_MODE_MUL = 3

正片疊底混合模式。

BlendMode BLEND_MODE_DISABLED = 4

No blending mode, direct color copy.


屬性說明

BlendMode blend_mode = 0 🔗

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