ezEngine Release 26.9
Loading...
Searching...
No Matches
ezDecalAssetProperties Class Reference
Inheritance diagram for ezDecalAssetProperties:

Public Member Functions

bool NeedsBaseColor () const
 If no base color texture is given, an opaque white one is generated, so that the alpha mask alone defines the decal.
 
bool NeedsNormal () const
 
bool NeedsORM () const
 
bool NeedsEmissive () const
 
- Public Member Functions inherited from ezReflectedClass
virtual const ezRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const ezRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
EZ_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Static Public Member Functions

static void PropertyMetaStateEventHandler (ezPropertyMetaStateEvent &e)
 
- Static Public Member Functions inherited from ezNoBase
static const ezRTTIGetStaticRTTI ()
 

Public Attributes

ezEnum< ezDecalModem_Mode
 
bool m_bBlendModeColorize = false
 
ezString m_sAlphaMask
 
ezString m_sBaseColor
 
ezString m_sNormal
 
ezString m_sORM
 
ezString m_sEmissive
 
ezUInt8 m_uiNumVariationsX = 1
 
ezUInt8 m_uiNumVariationsY = 1
 

Member Data Documentation

◆ m_uiNumVariationsX

ezUInt8 ezDecalAssetProperties::m_uiNumVariationsX = 1

Into how many columns and rows the input textures are subdivided.

Every cell must contain an independent variation of the decal. All input textures (base color, normal, ...) must use the same subdivision. The texture is packed into the decal atlas as a whole, an ezDecalComponent then displays only a single cell.


The documentation for this class was generated from the following files: