UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FFoliageTypeObject Struct Reference

#include <FoliageTypeObject.h>

Public Member Functions

 FFoliageTypeObject ()
 
FOLIAGE_API void RefreshInstance ()
 
FOLIAGE_API const UFoliageTypeGetInstance ()
 
FOLIAGE_API const UFoliageTypeGetInstance () const
 
FOLIAGE_API bool ContainsValidInstance () const
 
FOLIAGE_API bool HasFoliageType () const
 
FOLIAGE_API bool IsDirty () const
 
FOLIAGE_API void SetClean ()
 

Detailed Description

A wrapper struct used to allow the use of either FoliageType assets or FoliageType blueprint classes

Constructor & Destructor Documentation

◆ FFoliageTypeObject()

FFoliageTypeObject::FFoliageTypeObject ( )
inline

Member Function Documentation

◆ ContainsValidInstance()

bool FFoliageTypeObject::ContainsValidInstance ( ) const
Returns
Whether this would return a valid instance

◆ GetInstance() [1/2]

const UFoliageType * FFoliageTypeObject::GetInstance ( )

Gets the instance of this foliage type. Creates the instance if needed.

◆ GetInstance() [2/2]

const UFoliageType * FFoliageTypeObject::GetInstance ( ) const

Gets the instance of this foliage type.

◆ HasFoliageType()

bool FFoliageTypeObject::HasFoliageType ( ) const
Returns
Whether any foliage type is assigned at all

◆ IsDirty()

bool FFoliageTypeObject::IsDirty ( ) const

◆ RefreshInstance()

void FFoliageTypeObject::RefreshInstance ( )

Refreshes the type instance based on the assigned object. Intended to be called after some change is made.

◆ SetClean()

void FFoliageTypeObject::SetClean ( )

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