ArcBasicDocs

LightMesh

Applies lighting to vertex colours.

LightMesh ( mesh,red#,green#,blue#[,range#][,x#][,y#][,z#] )

Parameters

mesh
the mesh's handle.
red#
how much red to keep, from 0 to 255.
green#
how much green to keep.
blue#
how much blue to keep.
range# (optional)
accepted for older programs.
x# (optional)
accepted for older programs.
y# (optional)
accepted for older programs.
z# (optional)
accepted for older programs.

Description

Tints the colours of a mesh's points, multiplying each by a colour. The tint shows when the mesh is drawn with point colours (EntityFX 2). In ArcBasic it tints every point the same; the range and position are accepted for older programs.

See also