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

#include <KrautTreeAssetObjects.h>

Public Attributes

bool m_bGrowSubBranchType1 = false
 
bool m_bGrowSubBranchType2 = false
 
bool m_bGrowSubBranchType3 = false
 
ezUInt8 m_uiSegmentLengthCM = 5
 
ezEnum< ezKrautBranchTypeModem_BranchTypeMode = ezKrautBranchTypeMode::Regular
 
float m_fBranchlessPartABS = 0.0f
 
float m_fBranchlessPartEndABS = 0.0f
 
ezUInt8 m_uiLowerBound = 0
 
ezUInt8 m_uiUpperBound = 100
 
ezUInt16 m_uiMinBranchThicknessInCM = 20
 
ezUInt16 m_uiMaxBranchThicknessInCM = 20
 
ezUInt8 m_uiMinBranches = 4
 
ezUInt8 m_uiMaxBranches = 4
 
float m_fNodeSpacingBefore = 0.5f
 
float m_fNodeSpacingAfter = 0.0f
 
float m_fNodeHeight = 0.0f
 
ezAngle m_MaxRotationalDeviation = {}
 
ezAngle m_BranchAngle = ezAngle::MakeFromDegree(90)
 
ezAngle m_MaxBranchAngleDeviation = ezAngle::MakeFromDegree(10)
 
ezEnum< ezKrautBranchTargetDirm_TargetDirection = ezKrautBranchTargetDir::Straight
 
bool m_bTargetDirRelative = false
 
ezEnum< ezKrautBranchTargetDir2Usagem_TargetDir2Usage = ezKrautBranchTargetDir2Usage::Off
 
float m_fTargetDir2Usage = 2.5f
 
ezEnum< ezKrautBranchTargetDirm_TargetDirection2 = ezKrautBranchTargetDir::Upwards
 
ezAngle m_MaxTargetDirDeviation = ezAngle::MakeFromDegree(20)
 
ezUInt16 m_uiMinBranchLengthInCM = 100
 
ezUInt16 m_uiMaxBranchLengthInCM = 100
 
ezSingleCurveData m_MaxBranchLengthParentScale
 
ezAngle m_GrowMaxTargetDirDeviation = {}
 
ezAngle m_GrowMaxDirChangePerSegment = ezAngle::MakeFromDegree(5)
 
bool m_bRestrictGrowthToFrondPlane = false
 
bool m_bEnableMesh = true
 
ezString m_sBranchMaterial
 
ezSingleCurveData m_BranchContour
 
float m_fRoundnessFactor = 0.5f
 
ezUInt8 m_uiFlares = 0
 
float m_fFlareWidth = 2.0f
 
ezSingleCurveData m_FlareWidthCurve
 
ezAngle m_FlareRotation = {}
 
bool m_bRotateTexCoords = true
 
bool m_bEnableFronds = true
 
ezString m_sFrondMaterial
 
float m_fTextureRepeat = 0.0f
 
ezEnum< ezKrautLeafOrientationm_FrondUpOrientation = ezKrautLeafOrientation::Upwards
 
ezAngle m_MaxFrondOrientationDeviation = {}
 
ezUInt8 m_uiNumFronds = 1
 
bool m_bAlignFrondsOnSurface = false
 
ezUInt8 m_uiFrondDetail = 1
 
ezSingleCurveData m_FrondContour
 
ezEnum< ezKrautFrondContourModem_FrondContourMode = ezKrautFrondContourMode::Full
 
float m_fFrondHeight = 0.5f
 
ezSingleCurveData m_FrondHeight
 
float m_fFrondWidth = 0.5f
 
ezSingleCurveData m_FrondWidth
 
bool m_bEnableLeaves = true
 
ezString m_sLeafMaterial
 
bool m_bBillboardLeaves = true
 
float m_fLeafSize = 0.25f
 
ezSingleCurveData m_LeafScale
 
float m_fLeafInterval = 0
 

Detailed Description

Authoring data for a single Kraut branch type (trunk, main branch, sub-branch, or twig).

Each field group maps to a section in the Kraut tree editor's property panel. Instances of this struct are embedded in ezKrautTreeAssetProperties, one per active branch type slot.


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