![]() |
ezEngine Release 26.9
|
#include <KrautTreeAssetObjects.h>
Public Attributes | |
| ezEnum< ezKrautLodMode > | m_Mode = ezKrautLodMode::Full |
| float | m_fTipDetail = 0.04f |
| float | m_fCurvatureThreshold = 5.0f |
| float | m_fThicknessThreshold = 0.2f |
| float | m_fVertexRingDetail = 0.2f |
| ezBitflags< ezKrautTreeTypeBits > | m_AllowBranch = ezKrautTreeTypeBits::Default |
| Branch types for which branch mesh geometry is generated in this LOD. | |
| ezBitflags< ezKrautTreeTypeBits > | m_AllowFrond = ezKrautTreeTypeBits::Default |
| Branch types for which frond geometry is generated in this LOD. | |
| ezBitflags< ezKrautTreeTypeBits > | m_AllowLeaf = ezKrautTreeTypeBits::Default |
| Branch types for which leaf geometry is generated in this LOD. | |
| ezInt8 | m_iMaxFrondDetail = 32 |
| ezInt8 | m_iFrondDetailReduction = 0 |
| ezUInt32 | m_uiLodDistance = 0 |
| Camera distance in meters at which the engine transitions to this LOD. | |
| ezEnum< ezKrautBranchSpikeTipMode > | m_BranchSpikeTipMode = ezKrautBranchSpikeTipMode::FullDetail |
Authoring data for a single LOD level in a Kraut tree asset.
Controls which geometry types are included in the LOD (via the Allow* bitfields) and how much mesh detail is generated. m_uiLodDistance sets the camera distance at which the engine switches to this LOD.