Skip to content

PaintMesh

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

PaintMesh

PaintMesh:Void mesh:Int32, brush:Int32
Parameter Mode Type Default Description
mesh In Int32 required Mesh handle.
brush In Int32 required Brush handle.

Description

Applies a brush to every surface of a mesh: color, texture, alpha, shininess, blend mode and effects in one go. Surfaces that were painted before are overwritten. Make one brush and paint many meshes with it rather than setting each property separately.

Related Commands

AddMesh, CopyMesh, CreateMesh, FitMesh, FlipMesh, LoadAnimMesh, LoadMesh, PositionMesh

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally