Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.trace.decalEx

C๐Ÿท๏ธ Trace

Part of StarfallEx namespace

๐Ÿ”— External
trace.decalEx(material, ent, position, normal, color, w, h)
View on GitHub|lua/starfall/libs_sh/trace.lua:197
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Paints a decal on a specific entity

Parameters

NameTypeDescription
materialMaterialThe material to paint.
entEntityThe entity to apply the decal to
positionVectorThe position of the decal.
normalVectorThe direction of the decal.
colorColorThe color of the decal. This only works when used on a brush model and only if the decal material has set $vertexcolor to 1.
wnumberThe width scale of the decal.
hnumberThe height scale of the decal.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.