FData

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/HeightField.h

Include

#include "Chaos/HeightField.h"

Syntax

template<typename InStorageType>
struct FData

Variables

Name Description

Public variable

FReal

 

HeightPerUnit

Public variable

TArray< Storage...

 

Heights

Heights in the chosen format.

Public variable

TArray< uint8 >

 

MaterialIndices

Public variable

FReal

 

MaxValue

Public variable

FReal

 

MinValue

Public variable

uint16

 

NumCols

Public variable

uint16

 

NumRows

Public variable

FReal

 

Range

Public variable

FVec3

 

Scale

Functions

Name Description

Public function Const

constexpr FR...

 

GetCellHeight()

Public function Const

constexpr FR...

 

GetCellWidth()

Public function Const

FReal

 

GetMaxHeight()

Public function Const

FReal

 

GetMinHeight()

Public function Const

FVec3

 

GetPoint

(
    int32 Index
)

Public function Const

void

 

GetPoints

(
    int32 Index,
    FVec3 OutPts
)

Public function Const

FVec3

 

GetPointScaled

(
    int32 Index
)

Public function Const

void

 

GetPointsScaled

(
    int32 Index,
    FVec3 OutPts
)

Public function

void

 

SafeSerializeReal

(
    FChaosArchive& Ar,
    FReal& RealValue,
    int32 RuntimeRealSize,
    int32 SerializedRealSize
)

Public function

void

 

Serialize

(
    FChaosArchive& Ar
)

Typedefs

Name

Description

StorageType

For ease of access through typedefs.

Constants

Name

Description

RealSize

Data sizes to validate during serialization.

StorageRange

Range of the chosen type (unsigned so Min is always 0)

StorageSize

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