| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Landscape/Classes/LandscapeHeightfieldCollisionComponent.h |
Include |
#include "LandscapeHeightfieldCollisionComponent.h" |
class ULandscapeHeightfieldCollisionComponent : public UPrimitiveComponent
Name | Description | ||
---|---|---|---|
|
bool[2] |
bShouldSaveCookedDataToDDC |
Flag to indicate that the next time we cook data, we should save it to the DDC. |
|
CachedHeightFieldSamples |
||
|
CachedLocalBox |
Cached local-space bounding box, created at heightmap update time |
|
|
CollisionHash |
||
|
CollisionHeightData |
The collision height values. Stripped from cooked content |
|
|
CollisionQuadFlags |
The flags for each collision quad. See ECollisionQuadFlags. |
|
|
float |
CollisionScale |
Collision scale: (ComponentSizeQuads) / (CollisionSizeQuads) |
|
CollisionSizeQuads |
Size of component in collision quads |
|
|
ComponentLayerInfos |
List of layers painted on this component. |
|
|
CookedCollisionData |
Cooked HeightField data. |
|
|
CookedCollisionDataEd |
Cooked editor specific heightfield data, never serialized |
|
|
CookedPhysicalMaterials |
This is a list of physical materials that is actually used by a cooked HeightField |
|
|
DominantLayerData |
Indices into the ComponentLayers array for the per-vertex dominant layer. |
|
|
HeightfieldColumnsCount |
||
|
HeightfieldGuid |
Guid used to share PhysX heightfield objects in the editor |
|
|
TRefCountPtr< F... |
HeightfieldRef |
Physics engine version of heightfield data. |
|
HeightfieldRowsCount |
Cached PxHeightFieldSamples values for navmesh generation. |
|
|
TLazyObjectPtr<... |
RenderComponent |
Reference to render component |
|
SectionBaseX |
Offset of component in landscape quads |
|
|
SectionBaseY |
||
|
SimpleCollisionSizeQuads |
Size of component's "simple collision" in collision quads |
|
|
TSharedPtr< FAs... |
SpeculativeDDCRequest |
Async DCC load for cooked collision representation. |
Name | Description | |
---|---|---|
|
ULandscapeHeightfieldCollisionComponent ( |
Name | Description | ||
---|---|---|---|
|
ComputeCollisionHash() |
Computes a hash of all the data that will impact final collision |
|
|
CookCollisionData |
Cooks raw height data into collision object binary stream |
|
|
CreateCollisionObject() |
Creates collision object from a cooked collision data |
|
|
TOptional< f... |
GetHeight ( |
|
|
ULandscapeIn... |
GetLandscapeInfo() |
Gets the landscape info object for this landscape |
|
ALandscapePr... |
GetLandscapeProxy() |
Return the landscape actor associated with this component. |
|
ULandscapeCo... |
GetRenderComponent() |
Returns associated landscape component |
|
GetSectionBase() |
||
|
RecreateCollision() |
Recreate heightfield and restart physics |
|
|
SetSectionBase ( |
||
|
SnapFoliageInstances() |
||
|
SnapFoliageInstances ( |
Called from editor code to manage foliage instances on landscape. |
|
|
SpeculativelyLoadAsyncDDCCollsionData() |
We speculatively async load collision object from DDC to remove hitch when streaming |
|
|
UpdateHeightfieldRegion |
Modify a sub-region of the PhysX heightfield. Note that this does not update the physical material |
Name | Description | ||
---|---|---|---|
|
ComponentIsTouchingSelectionBox ( |
Determines whether the supplied bounding box intersects with the component. |
|
|
ComponentIsTouchingSelectionFrustum ( |
Determines whether the supplied frustum intersects with the component. |
|
|
DoCustomNavigableGeometryExport ( |
Collects custom navigable geometry of component. |
Name | Description | ||
---|---|---|---|
|
FBoxSphereBo... |
CalcBounds ( |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
|
ECollisionEn... |
GetCollisionEnabled() |
Returns the form of collision for this component |
|
ECollisionCh... |
GetCollisionObjectType() |
Gets the collision object type |
|
ECollisionRe... |
GetCollisionResponseToChannel ( |
Gets the response type given a specific channel |
|
const FColli... |
GetCollisionResponseToChannels() |
Return const reference to CollsionResponseContainer |
Name | Description | ||
---|---|---|---|
|
ApplyWorldOffset |
Called by owner actor on position shifting Component should update all relevant data structures to reflect new actor location |
|
|
DestroyComponent ( |
Unregister the component, remove it from its outer Actor's Components array and mark for pending kill. |
|
|
OnCreatePhysicsState() |
Used to create any physics engine information for this component |
|
|
OnDestroyPhysicsState() |
Used to shut down and physics engine structure for this component |
|
|
OnRegister() |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
|
|
OnUnregister() |
Called when a component is unregistered. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
ExportCustomProperties ( |
Exports the property values for the specified object as text to the output device. |
|
|
ImportCustomProperties ( |
Exports the property values for the specified object as text to the output device. |
|
|
PostEditImport() |
Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization |
|
|
PostEditUndo() |
Called after applying a transaction to the object. |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
PreSave ( |
Presave function. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name | Description | ||
---|---|---|---|
|
GatherGeometrySlice ( |
This function is called "on demand", whenever that specified piece of geometry is needed for navigation generation |
|
|
ENavDataGath... |
GetGeometryGatheringMode() |
|
|
PrepareGeometryExportSync() |
Called on Game-thread to give implementer a change to perform actions that require game-thread to run, for example precaching physics data |
|
|
SupportsGatheringGeometrySlices() |
If this instance knows how to export sub-sections of self |
Name |
Description |
|
---|---|---|
|
FHeightfieldGeometryRef |
Name |
Description |
|
---|---|---|
|
ECollisionQuadFlags |