ezEngine Release 26.9
Loading...
Searching...
No Matches
ezKrautAssetLod Struct Reference

#include <KrautTreeAssetObjects.h>

Public Attributes

ezEnum< ezKrautLodModem_Mode = ezKrautLodMode::Full
 
float m_fTipDetail = 0.04f
 
float m_fCurvatureThreshold = 5.0f
 
float m_fThicknessThreshold = 0.2f
 
float m_fVertexRingDetail = 0.2f
 
ezBitflags< ezKrautTreeTypeBitsm_AllowBranch = ezKrautTreeTypeBits::Default
 Branch types for which branch mesh geometry is generated in this LOD.
 
ezBitflags< ezKrautTreeTypeBitsm_AllowFrond = ezKrautTreeTypeBits::Default
 Branch types for which frond geometry is generated in this LOD.
 
ezBitflags< ezKrautTreeTypeBitsm_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< ezKrautBranchSpikeTipModem_BranchSpikeTipMode = ezKrautBranchSpikeTipMode::FullDetail
 

Detailed Description

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.


The documentation for this struct was generated from the following file: