FLandscapeComponentDataInterface

Choose your operating system:

Windows

macOS

Linux

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Public/LandscapeDataAccess.h

Include

#include "LandscapeDataAccess.h"

Syntax

struct FLandscapeComponentDataInterface

Variables

Name Description

Public variable

int32

 

HeightmapComponentOffsetX

Public variable

int32

 

HeightmapComponentOffsetY

Public variable

int32

 

HeightmapStride

Offset of this component's data into heightmap texture

Public variable

int32

 

HeightmapSubsectionOffset

Public variable

const int32

 

MipLevel

Constructors

Name Description

Public function

FLandscapeComponentDataInterface

(
    ULandscapeComponent* InCompone...,
    int32 InMipLevel,
    bool InWorkOnEditingLayer
)

Tors

Destructors

Functions

Name Description

Public function Const

void

 

ComponentXYToSubsectionXY

(
    int32 CompX,
    int32 CompY,
    int32& SubNumX,
    int32& SubNumY,
    int32& SubX,
    int32& SubY
)

Public function Const

uint16

 

GetHeight

(
    int32 VertexIndex
)

Public function Const

uint16

 

GetHeight

(
    int32 LocalX,
    int32 LocalY
)

Public function Const

FColor *

 

GetHeightData

(
    int32 LocalX,
    int32 LocalY
)

Public function Const

int32

 

GetHeightmapSizeX

(
    int32 MipIndex
)

Public function Const

int32

 

GetHeightmapSizeY

(
    int32 MipIndex
)

Public function

void

 

GetHeightmapTextureData

(
    TArray< FColor >& OutData,
    bool bOkToFail
)

Return the raw heightmap data exactly same size for Heightmap texture which belong to only this component

Public function Const

void

 

GetLocalTangentVectors

(
    int32 LocalX,
    int32 LocalY,
    FVector& LocalTangentX,
    FVector& LocalTangentY,
    FVector& LocalTangentZ
)

Public function Const

void

 

GetLocalTangentVectors

(
    int32 VertexIndex,
    FVector& LocalTangentX,
    FVector& LocalTangentY,
    FVector& LocalTangentZ
)

Public function Const

FVector

 

GetLocalVertex

(
    int32 LocalX,
    int32 LocalY
)

Public function Const

FVector

 

GetLocalVertex

(
    int32 VertexIndex
)

Public function Const

FColor *

 

GetRawHeightData()

Public function Const

FColor *

 

GetRawXYOffsetData()

Public function

bool

 

GetWeightmapTextureData

(
    ULandscapeLayerInfoObject* Lay...,
    TArray< uint8 >& OutData,
    bool InUseEditingWeightmap
)

Public function Const

void

 

GetWorldPositionTangents

(
    int32 LocalX,
    int32 LocalY,
    FVector& WorldPos,
    FVector& WorldTangentX,
    FVector& WorldTangentY,
    FVector& WorldTangentZ
)

Public function Const

void

 

GetWorldPositionTangents

(
    int32 VertexIndex,
    FVector& WorldPos,
    FVector& WorldTangentX,
    FVector& WorldTangentY,
    FVector& WorldTangentZ
)

Public function Const

void

 

GetWorldTangentVectors

(
    int32 LocalX,
    int32 LocalY,
    FVector& WorldTangentX,
    FVector& WorldTangentY,
    FVector& WorldTangentZ
)

Public function Const

void

 

GetWorldTangentVectors

(
    int32 VertexIndex,
    FVector& WorldTangentX,
    FVector& WorldTangentY,
    FVector& WorldTangentZ
)

Public function Const

FVector

 

GetWorldVertex

(
    int32 VertexIndex
)

Public function Const

FVector

 

GetWorldVertex

(
    int32 LocalX,
    int32 LocalY
)

Public function Const

void

 

GetXYOffset

(
    int32 X,
    int32 Y,
    float& XOffset,
    float& YOffset
)

Public function Const

void

 

GetXYOffset

(
    int32 VertexIndex,
    float& XOffset,
    float& YOffset
)

Public function Const

FColor *

 

GetXYOffsetData

(
    int32 LocalX,
    int32 LocalY
)

Public function Const

void

 

QuadIndexToXY

(
    int32 QuadIndex,
    int32& OutX,
    int32& OutY
)

Accessors.

Public function

void

 

SetRawHeightData

(
    FColor* NewHeightData
)

Public function

void

 

SetRawXYOffsetData

(
    FColor* NewXYOffsetData
)

Public function Const

int32

 

TexelXYToIndex

(
    int32 TexelX,
    int32 TexelY
)

Public function Const

int32

 

VertexIndexToTexel

(
    int32 VertexIndex
)

Public function Const

void

 

VertexIndexToXY

(
    int32 VertexIndex,
    int32& OutX,
    int32& OutY
)

Accessors.

Public function Const

int32

 

VertexXYToIndex

(
    int32 VertX,
    int32 VertY
)

Public function Const

void

 

VertexXYToTexelXY

(
    int32 VertX,
    int32 VertY,
    int32& OutX,
    int32& OutY
)