Navigation
API > API/Runtime > API/Runtime/Landscape > API/Runtime/Landscape/ULandscapeComponent
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
| Include | #include "LandscapeComponent.h" |
| Source | /Engine/Source/Runtime/Landscape/Private/LandscapeEdit.cpp |
void UpdateCollisionHeightData
&40;
const FColor &42; HeightmapTextureMipData,
const FColor &42; SimpleCollisionHeightmapTextureData,
int32 ComponentX1,
int32 ComponentY1,
int32 ComponentX2,
int32 ComponentY2,
bool bUpdateBounds,
const FColor &42; XYOffsetTextureMipData,
bool bInUpdateHeightfieldRegion
&41;
Remarks
Create or updates collision component height data True if CollisionComponent was created in this update.
Parameters
| Name | Description |
|---|---|
| HeightmapTextureMipData | heightmap data |
| ComponentX1, ComponentY1, ComponentX2, ComponentY2 | region to update |
| bUpdateBounds | Whether to update bounds from render component. |
| XYOffsetTextureMipData | xy-offset map data |