CARLA
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
FHeightMapData Struct Reference

#include <CustomTerrainPhysicsComponent.h>

Public Member Functions

void Clear ()
 
float GetHeight (FDVector Position) const
 
void InitializeHeightmap (UHeightMapDataAsset *DataAsset, FDVector Size, FDVector Origin, FDVector Tile0, float ScaleZ)
 

Public Attributes

float MaxHeight = 10.0f
 
float MinHeight = 0.0f
 
FDVector Offset
 
std::vector< float > Pixels
 
float Scale_Z = 1
 
uint32_t Size_X
 
uint32_t Size_Y
 
FDVector Tile0Position
 
FDVector WorldSize
 

Detailed Description

Definition at line 66 of file CustomTerrainPhysicsComponent.h.

Member Function Documentation

◆ Clear()

void FHeightMapData::Clear ( )

◆ GetHeight()

float FHeightMapData::GetHeight ( FDVector  Position) const

◆ InitializeHeightmap()

void FHeightMapData::InitializeHeightmap ( UHeightMapDataAsset *  DataAsset,
FDVector  Size,
FDVector  Origin,
FDVector  Tile0,
float  ScaleZ 
)

Member Data Documentation

◆ MaxHeight

float FHeightMapData::MaxHeight = 10.0f

Definition at line 79 of file CustomTerrainPhysicsComponent.h.

◆ MinHeight

float FHeightMapData::MinHeight = 0.0f

Definition at line 78 of file CustomTerrainPhysicsComponent.h.

◆ Offset

FDVector FHeightMapData::Offset

Definition at line 75 of file CustomTerrainPhysicsComponent.h.

Referenced by InitializeHeightmap().

◆ Pixels

std::vector<float> FHeightMapData::Pixels

Definition at line 82 of file CustomTerrainPhysicsComponent.h.

Referenced by Clear(), GetHeight(), and InitializeHeightmap().

◆ Scale_Z

float FHeightMapData::Scale_Z = 1

Definition at line 80 of file CustomTerrainPhysicsComponent.h.

◆ Size_X

uint32_t FHeightMapData::Size_X

Definition at line 76 of file CustomTerrainPhysicsComponent.h.

Referenced by GetHeight(), and InitializeHeightmap().

◆ Size_Y

uint32_t FHeightMapData::Size_Y

Definition at line 77 of file CustomTerrainPhysicsComponent.h.

Referenced by GetHeight(), and InitializeHeightmap().

◆ Tile0Position

FDVector FHeightMapData::Tile0Position

Definition at line 81 of file CustomTerrainPhysicsComponent.h.

Referenced by GetHeight(), and InitializeHeightmap().

◆ WorldSize

FDVector FHeightMapData::WorldSize

Definition at line 74 of file CustomTerrainPhysicsComponent.h.

Referenced by GetHeight(), and InitializeHeightmap().


The documentation for this struct was generated from the following files: