Skip to content

Latest commit

 

History

History
104 lines (59 loc) · 3.07 KB

DecalData.rst

File metadata and controls

104 lines (59 loc) · 3.07 KB

DecalData

A datablock describing an individual decal.

Inherit:

SimDataBlock

Description

A datablock describing an individual decal.

The textures defined by the decal Material can be divided into multiple rectangular sub-textures as shown below, with a different sub-texture selected by all decals using the same DecalData (via frame) or each decal instance (via randomize).

Example of a Decal imagemap

Example:

datablock DecalData(BulletHoleDecal)
{
   material = "DECAL_BulletHole";
   size = "5.0";
   lifeSpan = "50000";
   randomize = "1";
   texRows = "2";
   texCols = "2";
   clippingAngle = "60";
};

Methods

Fields