Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FPrimitiveSceneProxy
- FSceneProxyBase
- FSceneProxy
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/NaniteSceneProxy.h |
| Include | #include "NaniteSceneProxy.h" |
Syntax
class FSceneProxy : public Nanite::FSceneProxyBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bHasMaterialErrors | ||
| const FCardRepresentationData * | CardRepresentationData | ||
| const FDistanceFieldVolumeData * | DistanceFieldData | ||
| uint32 | EndCullDistance | ||
| FMeshInfo | MeshInfo | ||
| FUint32Vector2 | NaniteMaterialMask | ||
| TSharedPtr< FPerInstanceRenderData, ESPMode::ThreadSafe > | PerInstanceRenderData | Per instance render data, could be shared with component | |
| const FStaticMeshRenderData * | RenderData | ||
| const FResources * | Resources | ||
| const UStaticMesh * | StaticMesh |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSceneProxy
(
const FMaterialAudit& MaterialAudit, |
|||
FSceneProxy
(
const FMaterialAudit& MaterialAudit, |
|||
FSceneProxy
(
const FMaterialAudit& MaterialAudit, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FSceneProxy () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetDistanceFieldAtlasData
(
const FDistanceFieldVolumeData*& OutDistanceFieldData, |
||
| const UStaticMesh * | |||
| bool | IsCollisionView
(
const FEngineShowFlags& EngineShowFlags, |
Overridden from FSceneProxyBase
| Type | Name | Description | |
|---|---|---|---|
| HHitProxy * | CreateHitProxies
(
UPrimitiveComponent* Component, |
||
| FResourceMeshInfo |
Overridden from FPrimitiveSceneProxy
| Type | Name | Description | |
|---|---|---|---|
| void | Called when the rendering thread adds the proxy to the scene. | ||
| void | Draws the primitive's static elements. | ||
| void | GetDistanceFieldInstanceData
(
TArray< FRenderTransform >& InstanceLocalToPrimitiveTransforms |
||
| void | GetDynamicMeshElements
(
const TArray< const FSceneView* >& Views, |
Gathers the primitive's dynamic mesh elements. | |
| bool | GetInstanceDrawDistanceMinMax
(
FVector2f& OutDistanceMinMax |
Retrieves the instance draw distance range (mostly only used by objects whose instances are culled on the GPU) | |
| bool | GetInstanceWorldPositionOffsetDisableDistance
(
float& OutWPODisableDistance |
Retrieves the per-instance world position offset disable distance | |
| void | |||
| int32 | Get the lightmap UV coordinate index for this primitive. | ||
| void | GetLightRelevance
(
const FLightSceneProxy* LightSceneProxy, |
Determines the relevance of this primitive's elements to the given light. | |
| uint32 | Every derived class should override these functions | ||
| const FCardRepresentationData * | |||
| void | GetNaniteMaterialMask
(
FUint32Vector2& OutMaterialMask |
||
| void | GetNaniteResourceInfo
(
uint32& OutResourceID, |
||
| SIZE_T | GetTypeHash () |
Return a type (or subtype) specific hash for sorting purposes | |
| FPrimitiveViewRelevance | GetViewRelevance
(
const FSceneView* View |
Determines the relevance of this primitive's elements to the given view. | |
| bool | |||
| void | Allows child implementations to do render-thread work when bEvaluateWorldPositionOffset changes | ||
| void | Called to notify the proxy when its transform has been updated. | ||
| void | SetWorldPositionOffsetDisableDistance_GameThread
(
int32 NewValue |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FMeshInfo |
Typedefs
| Name | Description |
|---|---|
| Super |