Dev - Lua Libraries

Lua Command: s3sprite.setBlend

Parameters

Return Values

void

- no return values

Signature

s3sprite.setBlend(int spriteID, int blendMode)

Description

Sets the blendMode of the sprite with the given spriteID. The blendMode affects how the sprite is rendered.

These modes are possible:
0 - normal blending
1 - additive blending (bright)
2 - diffuse blending (dark)