DecalData
Engine/source/T3D/decal/decalData.h
DataBlock implementation for decals.
Public Types
_Anonymous_ { MAX_TEXCOORD_COUNT = 16 }
Private Types
Parent
Public Attributes
The angle in degress used to clip geometry that faces away from the decal projection.
Render material for decal.
Name of material to use.
bool
bool
Skip generating and collecting vertex normals for decals.
Public Functions
Material *
Called after any property of the object is changed in the world editor.
bool
onAdd()
Called when the object is added to the sim.
onStaticModified(const char * slotName, const char * newValue)
Specifically, these are called by setDataField when a static or dynamic field is modified, see the console details.
bool
unpackData(BitStream * )
Public Static Functions
Protected Functions
Detailed Description
DataBlock implementation for decals.
Public Types
@180
Enumerator
- MAX_TEXCOORD_COUNT = 16
Private Types
typedef SimDataBlock Parent
Public Attributes
F32 clippingAngle
The angle in degress used to clip geometry that faces away from the decal projection.
S32 clippingMasks
F32 fadeEndPixelSize
F32 fadeStartPixelSize
U32 fadeTime
Milliseconds for decal to fade after expiration.
S32 frame
U32 lifeSpan
Milliseconds for decal to expire.
String lookupName
SimObjectPtr< Material > material
Render material for decal.
String materialName
Name of material to use.
BaseMatInstance * matInst
Material instance for decal.
bool randomize
U8 renderPriority
F32 size
bool skipVertexNormals
Skip generating and collecting vertex normals for decals.
S32 texCols
S32 texCoordCount
RectF texRect [MAX_TEXCOORD_COUNT]
S32 texRows
Public Functions
DecalData()
~DecalData()
DECLARE_CONOBJECT(DecalData )
getMaterial()
getMaterialInstance()
inspectPostApply()
Reimplemented from: SimObject
onAdd()
Reimplemented from: SimDataBlock
onRemove()
Reimplemented from: SimObject
onStaticModified(const char * slotName, const char * newValue)
Reimplemented from: SimDataBlock
packData(BitStream * )
Reimplemented from: SimDataBlock
preload(bool server, String & errorStr)
Reimplemented from: SimDataBlock
reloadRects()
unpackData(BitStream * )
Reimplemented from: SimDataBlock