ULandscapeHeightfieldCollisionComponent::FillHeightTile

Populates a supplied array with the heights from the heightfield.

Windows
MacOS
Linux

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Classes/LandscapeHeightfieldCollisionComponent.h

Include

#include "LandscapeHeightfieldCollisionComponent.h"

Source

/Engine/Source/Runtime/Landscape/Private/LandscapeCollision.cpp

Syntax

bool FillHeightTile
(
    TArrayView< float > Heights,
    int32 Offset,
    int32 Stride
) const

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss