Navigation
API > API/Plugins > API/Plugins/ProceduralVegetation
FFoliageFacade is used to access and manipulate Foliage related data for a ProceduralVegetation's FManagedArrayCollection It presents access to foliage Mesh names, their respective Branch ids, and instancing transform data (Pivot point, Up Vector, and Scale) It lays out data in two Groups: FoliageNames and Foliage where Foliage references FoliageNames and Branch/Primitives with Ids It also adds Foliage entry Ids to the Branch/Primitives group.
| Name | FFoliageFacade |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ProceduralVegetationEditor/Source/ProceduralVegetation/Public/Facades/PVFoliageFacade.h |
| Include Path | #include "Facades/PVFoliageFacade.h" |
Syntax
class FFoliageFacade : public PV::Facades::IShrinkable
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFoliageFacade
(
const FManagedArrayCollection& InCollection |
Facades/PVFoliageFacade.h | ||
FFoliageFacade
(
FManagedArrayCollection& InCollection, |
Facades/PVFoliageFacade.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddFoliageEntry
(
const FFoliageEntryData& InputData |
Facades/PVFoliageFacade.h | ||
FFoliageEntryData GetFoliageEntry
(
const int32 Index |
Facades/PVFoliageFacade.h | ||
const TArray< int32 > & GetFoliageEntryIdsForBranch
(
int32 Index |
Facades/PVFoliageFacade.h | ||
FString GetFoliageName
(
const int32 Index |
Facades/PVFoliageFacade.h | ||
| Facades/PVFoliageFacade.h | |||
FString GetFoliagePath() |
Facades/PVFoliageFacade.h | ||
FTransform GetFoliageTransform
(
int32 Id |
Facades/PVFoliageFacade.h | ||
const float & GetLengthFromRoot
(
const int32 Index |
Facades/PVFoliageFacade.h | ||
const FVector3f & GetNormalVector
(
const int32 Index |
Facades/PVFoliageFacade.h | ||
int32 GetParentBoneID
(
int32 Index |
Facades/PVFoliageFacade.h | ||
const FVector3f & GetPivotPoint
(
const int32 Index |
Facades/PVFoliageFacade.h | ||
const TManagedArray< FVector3f > & GetPivotPositions() |
Facades/PVFoliageFacade.h | ||
const FVector3f & GetUpVector
(
const int32 Index |
Facades/PVFoliageFacade.h | ||
bool IsConst() |
Facades/PVFoliageFacade.h | ||
bool IsValid() |
Facades/PVFoliageFacade.h | ||
int32 NumFoliageEntries() |
Facades/PVFoliageFacade.h | ||
int32 NumFoliageNames() |
Facades/PVFoliageFacade.h | ||
void SetFoliageBranchId
(
const int32 Index, |
Facades/PVFoliageFacade.h | ||
void SetFoliageEntry
(
const int32 Index, |
Facades/PVFoliageFacade.h | ||
void SetFoliageIdsArray
(
const int32 Index, |
Facades/PVFoliageFacade.h | ||
void SetFoliageName
(
const int32 Index, |
Facades/PVFoliageFacade.h | ||
| Facades/PVFoliageFacade.h | |||
void SetFoliagePath
(
const FString InPath |
Facades/PVFoliageFacade.h | ||
void SetLengthFromRoot
(
const int32 Index, |
Facades/PVFoliageFacade.h | ||
void SetNormalVector
(
const int32 Index, |
Facades/PVFoliageFacade.h | ||
void SetParentBoneID
(
int32 Index, |
Facades/PVFoliageFacade.h | ||
void SetPivotPoint
(
const int32 Index, |
Facades/PVFoliageFacade.h | ||
void SetScale
(
const int32 Index, |
Facades/PVFoliageFacade.h | ||
void SetUpVector
(
const int32 Index, |
Facades/PVFoliageFacade.h |
Overridden from IShrinkable
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CopyEntry
(
const int32 FromIndex, |
Facades/PVFoliageFacade.h | ||
virtual int32 GetElementCount() |
Facades/PVFoliageFacade.h | ||
virtual void RemoveEntries
(
const int32 NumEntries, |
Facades/PVFoliageFacade.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DefineSchema
(
const int32 InitialSize |
Facades/PVFoliageFacade.h |