Skip to content

Component Decal

Berke edited this page Jun 23, 2026 · 1 revision

Decal

The Decal component allows placement of textures on walls with precise positional and geometric control.


Properties

wallIndex

decal.wallIndex

Index of the wall the decal is attached to.

Type

number

verticalPos

decal.verticalPos

Vertical placement offset on the wall.

Type

number

horizontalPos

decal.horizontalPos

Horizontal placement offset on the wall.

Type

number

wallNormalOffset

decal.wallNormalOffset

Offset along the wall normal direction.

Type

number

wallT

decal.wallT

Interpolation value along the wall segment (0–1 range).

Type

number

baseHeight

decal.baseHeight

Base height of the decal in world space.

Type

number

absHeight

decal.absHeight

Absolute computed height of the decal.

Type

number

Example Usage

local decal = entity.decal

decal.wallIndex = 5
decal.wallT = 0.5
decal.verticalPos = 1.2

Clone this wiki locally