ezEngine Release 26.9
Loading...
Searching...
No Matches
ezKrautTreeAssetProperties Class Reference

#include <KrautTreeAssetObjects.h>

Inheritance diagram for ezKrautTreeAssetProperties:

Static Public Member Functions

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

Public Attributes

float m_fStaticColliderRadius = 0.4f
 
float m_fTreeStiffness = 10.0f
 
float m_fMinAmbientOcclusion = 0.7f
 
ezString m_sSurface
 
ezHybridArray< ezKrautAssetMaterial, 8 > m_Materials
 
ezKrautAssetBranchType m_BT_Trunk1
 
ezKrautAssetBranchType m_BT_MainBranch1
 
ezKrautAssetBranchType m_BT_MainBranch2
 
ezKrautAssetBranchType m_BT_MainBranch3
 
ezKrautAssetBranchType m_BT_SubBranch1
 
ezKrautAssetBranchType m_BT_SubBranch2
 
ezKrautAssetBranchType m_BT_SubBranch3
 
ezKrautAssetBranchType m_BT_Twig1
 
ezKrautAssetBranchType m_BT_Twig2
 
ezKrautAssetBranchType m_BT_Twig3
 
ezKrautAssetLod m_Lod0
 
ezKrautAssetLod m_Lod1
 
ezKrautAssetLod m_Lod2
 
ezKrautAssetLod m_Lod3
 
ezKrautAssetLod m_Lod4
 
ezUInt16 m_uiRandomSeedForDisplay = 0
 Seed used to generate the tree shown in the asset editor preview.
 
ezHybridArray< ezUInt16, 16 > m_GoodRandomSeeds
 

Additional Inherited Members

- 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.
 

Detailed Description

The editable property object for a Kraut tree asset document.

Aggregates all branch type descriptors (one per active slot), up to five LOD descriptors, the material list, and global tree properties. The document serializes this object and uses it to drive ezKrautGeneratorResourceDescriptor creation at transform time.

Member Data Documentation

◆ m_GoodRandomSeeds

ezHybridArray<ezUInt16, 16> ezKrautTreeAssetProperties::m_GoodRandomSeeds

List of seeds that produce good-looking results for this tree type. ezKrautTreeComponent uses this list when a variation index is specified.


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