Navigation
API > API/Runtime > API/Runtime/Landscape
| Name | ULandscapeMeshCollisionComponent |
| Type | class |
| Header File | /Engine/Source/Runtime/Landscape/Classes/LandscapeMeshCollisionComponent.h |
| Include Path | #include "LandscapeMeshCollisionComponent.h" |
Syntax
UCLASS ()
class ULandscapeMeshCollisionComponent : public ULandscapeHeightfieldCollisionComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPrimitiveComponent → ULandscapeHeightfieldCollisionComponent → ULandscapeMeshCollisionComponent
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IInterface_AsyncCompilation
- INavRelevantInterface
- IPhysicsComponent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULandscapeMeshCollisionComponent() |
LandscapeMeshCollisionComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ULandscapeMeshCollisionComponent() |
LandscapeMeshCollisionComponent.h |
Structs
| Name | Remarks |
|---|---|
| FTriMeshGeometryRef |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CollisionXYOffsetData | FWordBulkData | The collision mesh values. | LandscapeMeshCollisionComponent.h | |
| MeshGuid | FGuid | Guid used to share PhysX heightfield objects in the editor | LandscapeMeshCollisionComponent.h | |
| MeshRef | TRefCountPtr< FTriMeshGeometryRef > | Physics engine version of heightfield data. | LandscapeMeshCollisionComponent.h |
Functions
Public
Overridden from ULandscapeHeightfieldCollisionComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyWorldOffset
(
const FVector& InOffset, |
LandscapeMeshCollisionComponent.h | ||
virtual void BeginDestroy() |
LandscapeMeshCollisionComponent.h | ||
virtual uint32 ComputeCollisionHash() |
Computes a hash of all the data that will impact final collision | LandscapeMeshCollisionComponent.h | |
virtual bool CookCollisionData
(
const FName& Format, |
LandscapeMeshCollisionComponent.h | ||
virtual void CreateCollisionObject() |
Creates collision object from a cooked collision data | LandscapeMeshCollisionComponent.h | |
virtual void DestroyComponent
(
bool bPromoteChildren |
LandscapeMeshCollisionComponent.h | ||
virtual bool DoCustomNavigableGeometryExport
(
FNavigableGeometryExport& GeomExport |
LandscapeMeshCollisionComponent.h | ||
virtual void ExportCustomProperties
(
FOutputDevice& Out, |
LandscapeMeshCollisionComponent.h | ||
virtual void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
LandscapeMeshCollisionComponent.h | ||
virtual void ImportCustomProperties
(
const TCHAR* SourceText, |
LandscapeMeshCollisionComponent.h | ||
virtual bool RecreateCollision() |
Recreate heightfield and restart physics | LandscapeMeshCollisionComponent.h | |
virtual void Serialize
(
FArchive& Ar |
LandscapeMeshCollisionComponent.h | ||
virtual bool SupportsGatheringGeometrySlices() |
LandscapeMeshCollisionComponent.h |
Protected
Overridden from ULandscapeHeightfieldCollisionComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnCreatePhysicsState() |
LandscapeMeshCollisionComponent.h |