#include <LandscapeHeightfieldCollisionComponent.h>
|
| LANDSCAPE_API ULandscapeComponent * | GetRenderComponent () const |
| |
| virtual void | ApplyWorldOffset (const FVector &InOffset, bool bWorldShift) override |
| |
| virtual void | DestroyComponent (bool bPromoteChildren=false) override |
| |
| virtual FBoxSphereBounds | CalcBounds (const FTransform &BoundTransform) const override |
| |
| virtual ECollisionEnabled::Type | GetCollisionEnabled () const override |
| |
| virtual ECollisionResponse | GetCollisionResponseToChannel (ECollisionChannel Channel) const override |
| |
| virtual ECollisionChannel | GetCollisionObjectType () const override |
| |
| virtual const FCollisionResponseContainer & | GetCollisionResponseToChannels () const override |
| |
| virtual void | OnRegister () override |
| |
| virtual void | OnUnregister () override |
| |
| virtual bool | AllowsAsyncPhysicsStateCreation () const override |
| |
| virtual bool | DoCustomNavigableGeometryExport (FNavigableGeometryExport &GeomExport) const override |
| |
| virtual bool | IsShown (const FEngineShowFlags &ShowFlags) const override |
| |
| virtual bool | SupportsGatheringGeometrySlices () const override |
| |
| virtual void | GatherGeometrySlice (FNavigableGeometryExport &GeomExport, const FBox &SliceBox) const override |
| |
| virtual ENavDataGatheringMode | GetGeometryGatheringMode () const override |
| |
| virtual void | PrepareGeometryExportSync () override |
| |
| virtual void | Serialize (FArchive &Ar) override |
| |
| virtual void | BeginDestroy () override |
| |
| virtual void | GetResourceSizeEx (FResourceSizeEx &CumulativeResourceSize) override |
| |
| virtual void | PostLoad () override |
| |
| virtual void | PreSave (FObjectPreSaveContext ObjectSaveContext) override |
| |
| FCollisionSampleInfo | GetCollisionSampleInfo () const |
| |
| LANDSCAPE_API bool | WriteRuntimeData (const FWriteRuntimeDataParams &Params, TArray< uint8 > &OutHeightfieldData, TArray< UPhysicalMaterial * > &InOutMaterials) const |
| |
| bool | GenerateCollisionData (const FWriteRuntimeDataParams &Params, Chaos::FHeightFieldPtr &OutHeightField, bool bGenerateSimpleCollision, Chaos::FHeightFieldPtr &OutSimpleHeightField, TArray< UPhysicalMaterial * > &InOutMaterials) const |
| |
| ULandscapeInfo * | GetLandscapeInfo () const |
| |
| virtual void | CreateCollisionObject () |
| |
| LANDSCAPE_API void | CreateCollisionObject (bool bUseDefaultMaterialOnly, TArrayView< const uint16 > Heights, TArrayView< const uint16 > SimpleHeights, TArrayView< const uint8 > PhysicalMaterialIds, TArrayView< const uint8 > SimplePhysicalMaterialIds, TArrayView< const TObjectPtr< UPhysicalMaterial > > PhysicalMaterialObjects) |
| |
| LANDSCAPE_API ALandscapeProxy * | GetLandscapeProxy () const |
| |
| LANDSCAPE_API FIntPoint | GetSectionBase () const |
| |
| LANDSCAPE_API void | SetSectionBase (FIntPoint InSectionBase) |
| |
| virtual LANDSCAPE_API bool | RecreateCollision () |
| |
| void | SetRenderComponent (ULandscapeComponent *InRenderComponent) |
| |
| LANDSCAPE_API TOptional< float > | GetHeight (float X, float Y, EHeightfieldSource HeightFieldSource) |
| |
| LANDSCAPE_API UPhysicalMaterial * | GetPhysicalMaterial (float X, float Y, EHeightfieldSource HeightFieldSource) |
| |
| LANDSCAPE_API bool | FillHeightTile (TArrayView< float > Heights, int32 Offset, int32 Stride) const |
| |
| LANDSCAPE_API bool | FillMaterialIndexTile (TArrayView< uint8 > Materials, int32 Offset, int32 Stride) const |
| |
◆ ECollisionQuadFlags
| Enumerator |
|---|
| QF_PhysicalMaterialMask | |
| QF_EdgeTurned | |
| QF_NoCollision | |
◆ AllowsAsyncPhysicsStateCreation()
| bool ULandscapeHeightfieldCollisionComponent::AllowsAsyncPhysicsStateCreation |
( |
| ) |
const |
|
overridevirtual |
◆ ApplyWorldOffset()
| void ULandscapeHeightfieldCollisionComponent::ApplyWorldOffset |
( |
const FVector & |
InOffset, |
|
|
bool |
bWorldShift |
|
) |
| |
|
overridevirtual |
◆ BeginDestroy()
| void ULandscapeHeightfieldCollisionComponent::BeginDestroy |
( |
| ) |
|
|
overridevirtual |
◆ CalcBounds()
◆ CreateCollisionObject() [1/2]
| void ULandscapeHeightfieldCollisionComponent::CreateCollisionObject |
( |
| ) |
|
|
virtual |
Creates collision object from a cooked collision data
◆ CreateCollisionObject() [2/2]
Creates collision object from raw runtime data. Data is assumed at this point to contain valid physical material indices with visibility layer set to 0xFF
◆ DestroyComponent()
| void ULandscapeHeightfieldCollisionComponent::DestroyComponent |
( |
bool |
bPromoteChildren = false | ) |
|
|
overridevirtual |
◆ DoCustomNavigableGeometryExport()
◆ FillHeightTile()
Populates a supplied array with the heights from the heightfield. Samples are placed in a tile defined by the starting point (Offset) and the stride/row
◆ FillMaterialIndexTile()
◆ GatherGeometrySlice()
◆ GenerateCollisionData()
◆ GetCollisionEnabled()
◆ GetCollisionObjectType()
| ECollisionChannel ULandscapeHeightfieldCollisionComponent::GetCollisionObjectType |
( |
| ) |
const |
|
overridevirtual |
◆ GetCollisionResponseToChannel()
◆ GetCollisionResponseToChannels()
◆ GetCollisionSampleInfo()
◆ GetGeometryGatheringMode()
◆ GetHeight()
◆ GetLandscapeInfo()
| ULandscapeInfo * ULandscapeHeightfieldCollisionComponent::GetLandscapeInfo |
( |
| ) |
const |
Gets the landscape info object for this landscape
◆ GetLandscapeProxy()
| ALandscapeProxy * ULandscapeHeightfieldCollisionComponent::GetLandscapeProxy |
( |
| ) |
const |
Return the landscape actor associated with this component.
◆ GetPhysicalMaterial()
◆ GetRenderComponent()
| ULandscapeComponent * ULandscapeHeightfieldCollisionComponent::GetRenderComponent |
( |
| ) |
const |
Returns associated landscape component
◆ GetResourceSizeEx()
| void ULandscapeHeightfieldCollisionComponent::GetResourceSizeEx |
( |
FResourceSizeEx & |
CumulativeResourceSize | ) |
|
|
overridevirtual |
◆ GetSectionBase()
| FIntPoint ULandscapeHeightfieldCollisionComponent::GetSectionBase |
( |
| ) |
const |
- Returns
- Component section base as FIntPoint
◆ IsShown()
◆ OnCreatePhysicsState()
| void ULandscapeHeightfieldCollisionComponent::OnCreatePhysicsState |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ OnDestroyPhysicsState()
| void ULandscapeHeightfieldCollisionComponent::OnDestroyPhysicsState |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ OnRegister()
| void ULandscapeHeightfieldCollisionComponent::OnRegister |
( |
| ) |
|
|
overridevirtual |
◆ OnUnregister()
| void ULandscapeHeightfieldCollisionComponent::OnUnregister |
( |
| ) |
|
|
overridevirtual |
◆ PostLoad()
| void ULandscapeHeightfieldCollisionComponent::PostLoad |
( |
| ) |
|
|
overridevirtual |
◆ PrepareGeometryExportSync()
| void ULandscapeHeightfieldCollisionComponent::PrepareGeometryExportSync |
( |
| ) |
|
|
overridevirtual |
◆ PreSave()
◆ RecreateCollision()
| bool ULandscapeHeightfieldCollisionComponent::RecreateCollision |
( |
| ) |
|
|
virtual |
Recreate heightfield and restart physics
◆ Serialize()
| void ULandscapeHeightfieldCollisionComponent::Serialize |
( |
FArchive & |
Ar | ) |
|
|
overridevirtual |
◆ SetRenderComponent()
| void ULandscapeHeightfieldCollisionComponent::SetRenderComponent |
( |
ULandscapeComponent * |
InRenderComponent | ) |
|
|
inline |
◆ SetSectionBase()
| void ULandscapeHeightfieldCollisionComponent::SetSectionBase |
( |
FIntPoint |
InSectionBase | ) |
|
- Parameters
-
| InSectionBase | new section base for a component |
◆ SupportsGatheringGeometrySlices()
| virtual bool ULandscapeHeightfieldCollisionComponent::SupportsGatheringGeometrySlices |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ WriteRuntimeData()
◆ FLandscapeHeightfieldCollisionComponentSceneProxy
| friend class FLandscapeHeightfieldCollisionComponentSceneProxy |
|
friend |
◆ CachedHeightFieldSamples
◆ CookedCollisionData
| TArray<uint8> ULandscapeHeightfieldCollisionComponent::CookedCollisionData |
Cooked HeightField data. Serialized only with cooked content Stored as array instead of BulkData to take advantage of precaching during async loading
◆ CookedPhysicalMaterials
This is a list of physical materials that is actually used by a cooked HeightField
◆ HeightfieldColumnsCount
| int32 ULandscapeHeightfieldCollisionComponent::HeightfieldColumnsCount |
◆ HeightfieldRef
Physics engine version of heightfield data.
◆ HeightfieldRowsCount
| int32 ULandscapeHeightfieldCollisionComponent::HeightfieldRowsCount |
Cached PxHeightFieldSamples values for navmesh generation. Note that it's being used only if navigation octree is set up for lazy geometry exporting
◆ LocalHeightfieldGeometryRef
◆ LocalHeightfieldSimpleGeometryRef
The documentation for this class was generated from the following files: