| Home Page | Recent Changes | Preferences

# Decal

Actor >> Decal

A Decal is a client-side actor that attaches flat against level geometry to create effects like bulletholes or blood stains. Decals won't work in fog zones.

## Properties

int MultiDecalLevel
  How many surfaces this decal is allowed to be attached to. Set this higher for larger decals.
float LastRenderedTime
const array<int> SurfList
  List of surfaces this decal is attached to. Native.

## Methods

Texture (UT) AttachDecal(float TraceDistance, optional vector DecalDir) [simulated native]
  Traces forward (or in direction of DecalDir) and attaches the decal to surfaces. Returns the texture of the surface it attached the decal to or None if no or only fake backdrop surfaces are in range.
DetachDecal() [simulated native]
  Detach this decal from all surfaces.
AttachToSurface() [simulated]
  Tries to attach the decal by calling AttachDecal with a TraceDistance of 100 units. If the decal could not be attached, then the decal is destroyed.
Update(Actor L) [event]

Category Class (UT2003)

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In