Navigation
API > API/Runtime > API/Runtime/Landscape
| Name | FLandscapeComponentSceneProxy |
| Type | class |
| Header File | /Engine/Source/Runtime/Landscape/Public/LandscapeRender.h |
| Include Path | #include "LandscapeRender.h" |
Syntax
class FLandscapeComponentSceneProxy :
public FPrimitiveSceneProxy,
public FLandscapeSectionInfo
Inheritance Hierarchy
- FPrimitiveSceneProxy → FLandscapeComponentSceneProxy
- TLinkedListBase → TIntrusiveLinkedList → FLandscapeSectionInfo → FLandscapeComponentSceneProxy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLandscapeComponentSceneProxy
(
ULandscapeComponent* InComponent |
Constructor | LandscapeRender.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLandscapeComponentSceneProxy() |
LandscapeRender.h |
Classes
| Name | Remarks |
|---|---|
| FLandscapeLCI |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LandscapeEditResourcesSubsystem | ULandscapeEditResourcesSubsystem * | LandscapeRender.h | |
| MAX_SUBSECTION_COUNT | const int8 | LandscapeRender.h | |
| SharedBuffersMap | TMap< uint32, FLandscapeSharedBuffers * > | Reference counted vertex and index buffer shared among all landscape scene proxies of the same component size Key is the component size and number of subsections. | LandscapeRender.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FLandscapeRenderSystem | friend | LandscapeRender.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyViewDependentMeshArguments
(
const FSceneView& View, |
LandscapeRender.h | ||
virtual bool CanBeOccluded() |
LandscapeRender.h | ||
virtual void CreateRenderThreadResources
(
FRHICommandListBase& RHICmdList |
LandscapeRender.h | ||
virtual void DestroyRenderThreadResources() |
LandscapeRender.h | ||
virtual void DrawStaticElements
(
FStaticPrimitiveDrawInterface* PDI |
LandscapeRender.h | ||
virtual void GetDynamicMeshElements
(
const TArray< const FSceneView* >& Views, |
LandscapeRender.h | ||
const FMeshBatch & GetGrassMeshBatch() |
LandscapeRender.h | ||
virtual void GetHeightfieldRepresentation
(
UTexture2D*& OutHeightmapTexture, |
LandscapeRender.h | ||
virtual void GetLCIs
(
FLCIArray& LCIs |
LandscapeRender.h | ||
virtual int32 GetLightMapResolution() |
LandscapeRender.h | ||
virtual void GetLightRelevance
(
const FLightSceneProxy* LightSceneProxy, |
Determines the relevance of this primitive's elements to the given light. | LandscapeRender.h | |
virtual uint32 GetMemoryFootprint() |
LandscapeRender.h | ||
virtual FPrimitiveViewRelevance GetViewRelevance
(
const FSceneView* View |
LandscapeRender.h | ||
virtual bool HeightfieldHasPendingStreaming() |
FLandcapeSceneProxy. | LandscapeRender.h | |
virtual void OnTransformChanged
(
FRHICommandListBase& RHICmdList |
LandscapeRender.h |
Overridden from FLandscapeSectionInfo
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual float ComputeLODBias() |
LandscapeRender.h | ||
virtual float ComputeLODForView
(
const FSceneView& InView |
LandscapeRender.h | ||
virtual double ComputeSectionResolution() |
Computes the worldspace units per vertex of the landscape section. | LandscapeRender.h | |
virtual int32 GetComponentResolution() |
Return the resolution of a component, in vertices (-1 for any sections that are not grid based, i.e. mesh sections) | LandscapeRender.h | |
virtual const FPrimitiveSceneInfo * GetPrimitiveSceneInfo() |
LandscapeRender.h | ||
virtual void GetSectionBoundsAndLocalToWorld
(
FBoxSphereBounds& LocalBounds, |
LandscapeRender.h | ||
virtual void GetSectionCenterAndVectors
(
FVector& OutSectionCenterWorldSpace, |
LandscapeRender.h | ||
virtual void OnRenderCoordsChanged
(
FRHICommandListBase& RHICmdList |
Used to notify derived classes when render coords are calculated | LandscapeRender.h | |
virtual bool ShouldInvalidateShadows
(
const FSceneView& InView, |
LandscapeRender.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetMeshElementForFixedGrid
(
int32 InLodIndex, |
Creates a mesh batch for virtual texture or water info texture rendering. | LandscapeRender.h | |
bool GetStaticMeshElement
(
int32 LODIndex, |
LandscapeRender.h | ||
virtual void OnForceHiddenChanged() |
LandscapeRender.h |