Navigation
API > API/Runtime > API/Runtime/Foliage
References
| Module | Foliage |
| Header | /Engine/Source/Runtime/Foliage/Public/InstancedFoliage.h |
| Include | #include "InstancedFoliage.h" |
Syntax
struct FFoliageImpl
Remarks
FFoliageInfoImpl
Variables
| Type | Name | Description | |
|---|---|---|---|
| FFoliageInfo * | Info | Not serialized but FFoliageInfo will make sure it stays valid (mostly Undo/Redo) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FFoliageImpl
(
FFoliageInfo* InInfo |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddExistingInstance
(
const FFoliageInstance& ExistingInstance, |
||
| void | AddInstance
(
const FFoliageInstance& NewInstance |
||
| void | AddReferencedObjects
(
UObject* InThis, |
||
| void | ApplySelection
(
bool bApply, |
||
| void | BeginUpdate () |
||
| void | ClearSelection
(
const TSet< int32 >& SelectedIndices |
||
| void | EndUpdate () |
||
| void | |||
| void | ExitEditMode () |
||
| void | ForEachSMInstance
(
TFunctionRef< bool(FSMInstanceId)> Callback |
||
| void | ForEachSMInstance
(
int32 InstanceIndex, |
||
| AInstancedFoliageActor * | GetIFA () |
||
| FFoliageInfo * | GetInfo () |
||
| int32 | |||
| int32 | GetInstanceIndexFrom
(
const UPrimitiveComponent* PrimitiveComponent, |
||
| FTransform | GetInstanceWorldTransform
(
int32 InstanceIndex |
||
| int32 | GetOverlappingBoxCount
(
const FBox& Box |
||
| void | GetOverlappingBoxTransforms
(
const FBox& Box, |
||
| void | GetOverlappingMeshCount
(
const FSphere& Sphere, |
||
| int32 | GetOverlappingSphereCount
(
const FSphere& Sphere |
||
| FBox | GetSelectionBoundingBox
(
const TSet< int32 >& SelectedIndices |
||
| void | Initialize
(
const UFoliageType* FoliageType |
||
| bool | |||
| bool | IsOwnedComponent
(
const UPrimitiveComponent* PrimitiveComponent |
||
| void | MoveInstance
(
int32 InstanceIndex, |
||
| bool | NotifyFoliageTypeChanged
(
UFoliageType* FoliageType, |
Return true if implementation needs to change. | |
| void | NotifyFoliageTypeWillChange
(
UFoliageType* FoliageType |
||
| void | OnHiddenEditorViewMaskChanged
(
uint64 InHiddenEditorViews |
||
| void | PostEditUndo
(
FFoliageInfo* InInfo, |
||
| void | PostLoad () |
||
| void | PostMoveInstances
(
TArrayView< const int32 > InInstancesMoved, |
||
| void | PostSerialize
(
FArchive& Ar |
||
| void | |||
| void | PreAddInstances
(
const UFoliageType* FoliageType, |
||
| void | PreEditUndo
(
UFoliageType* FoliageType |
||
| void | PreMoveInstances
(
TArrayView< const int32 > InInstancesMoved |
||
| void | Reapply
(
const UFoliageType* FoliageType |
||
| void | Refresh
(
bool Async, |
||
| void | RemoveInstance
(
int32 InstanceIndex |
||
| void | SelectAllInstances
(
bool bSelect |
||
| void | SelectInstance
(
bool bSelect, |
||
| void | SelectInstances
(
bool bSelect, |
||
| void | |||
| void | SetInstanceWorldTransform
(
int32 InstanceIndex, |
||
| bool | |||
| void | Uninitialize () |