Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FSceneProxy |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/NaniteSceneProxy.h |
| Include Path | #include "NaniteSceneProxy.h" |
Syntax
class FSceneProxy : public Nanite::FSceneProxyBase
Inheritance Hierarchy
- FPrimitiveSceneProxy → FSceneProxyBase → FSceneProxy
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSceneProxy
(
const FMaterialAudit& MaterialAudit, |
NaniteSceneProxy.h | ||
FSceneProxy
(
const FMaterialAudit& MaterialAudit, |
NaniteSceneProxy.h | ||
FSceneProxy
(
const FMaterialAudit& MaterialAudit, |
NaniteSceneProxy.h | ||
FSceneProxy
(
const FMaterialAudit& MaterialAudit, |
NaniteSceneProxy.h | ||
FSceneProxy
(
const FMaterialAudit& MaterialAudit, |
NaniteSceneProxy.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSceneProxy() |
NaniteSceneProxy.h |
Classes
| Name | Remarks |
|---|---|
| FMeshInfo |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | FSceneProxyBase | NaniteSceneProxy.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetDistanceFieldAtlasData
(
const FDistanceFieldVolumeData*& OutDistanceFieldData, |
NaniteSceneProxy.h | ||
const UStaticMesh * GetStaticMesh() |
NaniteSceneProxy.h | ||
virtual void SetEvaluateWorldPositionOffsetInRayTracing
(
FRHICommandListBase& RHICmdList, |
NaniteSceneProxy.h |
Overridden from FSceneProxyBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FResourceMeshInfo GetResourceMeshInfo() |
NaniteSceneProxy.h | ||
virtual FResourcePrimitiveInfo GetResourcePrimitiveInfo() |
NaniteSceneProxy.h |
Overridden from FPrimitiveSceneProxy
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanApplyStreamableRenderAssetScaleFactor() |
NaniteSceneProxy.h | ||
virtual HHitProxy * CreateHitProxies
(
IPrimitiveComponent* ComponentInterface, |
Creates the hit proxies are used when DrawDynamicElements is called. Called in the game thread. | NaniteSceneProxy.h | |
virtual HHitProxy * CreateHitProxies
(
UPrimitiveComponent* Component, |
All FPrimitiveSceneProxy derived classes can decide to fully override the HHitProxy creation, or add their own and call any of their base classes to add theirs. | NaniteSceneProxy.h | |
virtual void DrawStaticElements
(
FStaticPrimitiveDrawInterface* PDI |
Draws the primitive's static elements. | NaniteSceneProxy.h | |
virtual void GetDynamicMeshElements
(
const TArray< const FSceneView* >& Views, |
Gathers the primitive's dynamic mesh elements. | NaniteSceneProxy.h | |
virtual FInstanceDataUpdateTaskInfo * GetInstanceDataUpdateTaskInfo () |
Return a pointer to a class that can be used to guard access to instance data that is being updated by a task. | NaniteSceneProxy.h | |
virtual bool GetInstanceDrawDistanceMinMax
(
FVector2f& OutDistanceMinMax |
Retrieves the instance draw distance range (mostly only used by objects whose instances are culled on the GPU) | NaniteSceneProxy.h | |
virtual bool GetInstanceWorldPositionOffsetDisableDistance
(
float& OutWPODisableDistance |
Retrieves the per-instance world position offset disable distance | NaniteSceneProxy.h | |
virtual void GetLCIs
(
FLCIArray& LCIs |
NaniteSceneProxy.h | ||
virtual int32 GetLightMapCoordinateIndex () |
Get the lightmap UV coordinate index for this primitive. | NaniteSceneProxy.h | |
virtual void GetLightRelevance
(
const FLightSceneProxy* LightSceneProxy, |
Determines the relevance of this primitive's elements to the given light. | NaniteSceneProxy.h | |
virtual uint32 GetMemoryFootprint() |
Every derived class should override these functions | NaniteSceneProxy.h | |
virtual const FCardRepresentationData * GetMeshCardRepresentation() |
NaniteSceneProxy.h | ||
virtual FUintVector2 GetMeshPaintTextureDescriptor() |
NaniteSceneProxy.h | ||
virtual void GetPreSkinnedLocalBounds
(
FBoxSphereBounds& OutBounds |
NaniteSceneProxy.h | ||
virtual void GetStreamableRenderAssetInfo
(
const FBoxSphereBounds& PrimitiveBounds, |
NaniteSceneProxy.h | ||
virtual SIZE_T GetTypeHash() |
Return a type (or subtype) specific hash for sorting purposes | NaniteSceneProxy.h | |
virtual FPrimitiveViewRelevance GetViewRelevance
(
const FSceneView* View |
Determines the relevance of this primitive's elements to the given view. | NaniteSceneProxy.h | |
virtual bool HasDistanceFieldRepresentation() |
NaniteSceneProxy.h | ||
virtual void SetInstanceCullDistance_RenderThread
(
float StartCullDistance, |
NaniteSceneProxy.h | ||
virtual void SetWorldPositionOffsetDisableDistance_GameThread
(
int32 NewValue |
NaniteSceneProxy.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsCollisionView
(
const FEngineShowFlags& EngineShowFlags, |
NaniteSceneProxy.h |
Overridden from FPrimitiveSceneProxy
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreateRenderThreadResources
(
FRHICommandListBase& RHICmdList |
Called when the rendering thread adds the proxy to the scene. | NaniteSceneProxy.h | |
virtual void OnEvaluateWorldPositionOffsetChanged_RenderThread() |
Allows child implementations to do render-thread work when bEvaluateWorldPositionOffset changes | NaniteSceneProxy.h |