Skip to content

BrushColor

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
Blitz3D

BrushColor

BrushColor:Void brush:Int32, red:Float32, green:Float32, blue:Float32
Parameter Mode Type Default Description
brush In Int32 required The brush.
red In Float32 required Red part, 0 to 255.
green In Float32 required Green part, 0 to 255.
blue In Float32 required Blue part, 0 to 255.

Description

Sets the color the brush multiplies onto the surface: the red, green and blue parts range from 0 to 255 and are clamped. The default is 255, 255, 255, which leaves textures unchanged.

Related Commands

BrushAlpha, BrushBlend, BrushFX, BrushShininess, BrushTexture, CreateBrush, FreeBrush, GetBrushTexture

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally