| FPrimitiveSceneProxy
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/StaticMeshResources.h |
Include |
#include "StaticMeshResources.h" |
class FStaticMeshSceneProxy : public FPrimitiveSceneProxy
A static mesh component scene proxy.
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bCastShadow |
|
|
bPerSectionSelection |
Whether selection should be per section or per entire proxy. |
|
|
uint32: 1 |
bReverseCulling |
This primitive has culling reversed |
|
ClampedMinLOD |
Minimum LOD index to use. Clamped to valid range [0, NumLODs - 1]. |
|
|
const FDistance... |
DistanceFieldData |
|
|
ForcedLodModel |
The forcedLOD set in the static mesh editor, copied from the mesh component |
|
|
HierarchicalLODIndex |
Hierarchical LOD Index used for rendering |
|
|
LODs |
||
|
MaterialIndexPreview |
Index of the material to preview. If set to INDEX_NONE, all section will be rendered |
|
|
MaterialRelevance |
The view relevance for all the static mesh's materials. |
|
|
MaterialStreamingRelativeBoxes |
Material bounds used for texture streaming. |
|
|
OccluderData |
||
|
RenderData |
||
|
SectionIndexPreview |
Index of the section to preview. If set to INDEX_NONE, all section will be rendered |
|
|
float |
StreamingDistanceMultiplier |
The component streaming distance multiplier |
|
float |
StreamingTransformScale |
The cached GetTextureStreamingTransformScale |
Name | Description | |
---|---|---|
|
FStaticMeshSceneProxy ( |
Initialization constructor. |
Name | Description | |
---|---|---|
|
~FStaticMeshSceneProxy() |
Name | Description | ||
---|---|---|---|
|
GetAllocatedSize() |
||
|
GetCollisionMeshElement ( |
Sets up a collision FMeshBatch for a specific LOD and element. |
|
|
GetCurrentFirstLODIdx_Internal() |
Only call on render thread timeline |
|
|
GetLODMask ( |
Returns the LOD mask for a view, this is like the ordinary LOD but can return two values for dither fading |
|
|
GetMaterialTextureScales ( |
||
|
GetMeshElement |
Sets up a FMeshBatch for a specific LOD and element. |
|
|
GetNumMeshBatches() |
Gets the number of mesh batches required to represent the proxy, aside from section needs. |
|
|
float |
GetScreenSize ( |
Returns the display factor for the given LOD level |
|
GetShadowMeshElement ( |
Sets up a shadow FMeshBatch for a specific LOD. |
|
|
GetWireframeMeshElement ( |
Sets up a wireframe FMeshBatch for a specific LOD. |
|
|
IsCollisionView ( |
||
|
IsReversedCullingNeeded ( |
Returns whether this mesh needs reverse culling when using reversed indices. |
|
|
SetEvaluateWorldPositionOffsetInRayTracing ( |
||
|
SetMeshElementGeometrySource ( |
Configures mesh batch vertex / index state. Returns the number of primitives used in the element. |
|
|
SetMeshElementScreenSize ( |
Sets the screen size on a mesh element. |
Name | Description | ||
---|---|---|---|
|
CanBeOccluded() |
||
|
CollectOccluderElements ( |
Collects occluder geometry for software occlusion culling |
|
|
HHitProxy &#... |
CreateHitProxies ( |
Creates the hit proxies are used when DrawDynamicElements is called. Called in the game thread. |
|
CreateRenderThreadResources() |
Called when the rendering thread adds the proxy to the scene. |
|
|
DestroyRenderThreadResources() |
Called when the rendering thread removes the proxy from the scene. |
|
|
DrawStaticElements |
Draws the primitive's static elements. |
|
|
GetCurrentFirstLODIdx_RenderThread() |
||
|
GetDistancefieldAtlasData ( |
||
|
GetDistanceFieldInstanceInfo ( |
||
|
GetDynamicMeshElements ( |
Gathers the primitive's dynamic mesh elements. |
|
|
GetLCIs ( |
||
|
GetLightMapResolution() |
Get the lightmap resolution for this primitive. Used in VMI_LightmapDensity. |
|
|
GetLightRelevance ( |
Determines the relevance of this primitive's elements to the given light. |
|
|
GetLOD ( |
Returns the LOD that the primitive will render at for this view. |
|
|
GetMemoryFootprint() |
Every derived class should override these functions |
|
|
GetMeshDescription ( |
Gathers a description of the mesh elements to be rendered for the given LOD index, without consideration for views. |
|
|
GetMeshUVDensities |
Get mesh UV density for a LOD-section. |
|
|
GetPrimitiveDistance |
Get primitive distance to view origin for a given LOD-section. |
|
|
GetTypeHash() |
Return a type (or subtype) specific hash for sorting purposes |
|
|
FPrimitiveVi... |
GetViewRelevance ( |
Determines the relevance of this primitive's elements to the given view. |
|
HasDistanceFieldRepresentation() |
||
|
HasDynamicIndirectShadowCasterRepresentation() |
||
|
IsUsingDistanceCullFade() |
Name |
Description |
|
---|---|---|
|
FLODInfo |
Information used by the proxy about a single LOD of the mesh. |