Part of StarfallEx namespace
๐ External
trace.decalEx(material, ent, position, normal, color, w, h)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Paints a decal on a specific entity
Parameters
| Name | Type | Description |
|---|---|---|
material | Material | The material to paint. |
ent | Entity | The entity to apply the decal to |
position | Vector | The position of the decal. |
normal | Vector | The direction of the decal. |
color | Color | The color of the decal. This only works when used on a brush model and only if the decal material has set $vertexcolor to 1. |
w | number | The width scale of the decal. |
h | number | The height scale of the decal. |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.