Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/StaticMeshResources.h |
Include | #include "StaticMeshResources.h" |
Syntax
struct FStaticMeshSection
Remarks
A set of static mesh triangles which are rendered with the same material.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bAffectDistanceFieldLighting | If true, this section will affect lighting methods that use Distance Fields. |
![]() |
bool | bCastShadow | If true, this section will cast a shadow. |
![]() |
bool | bEnableCollision | If true, collision is enabled for this section. |
![]() |
bool | bForceOpaque | If true, this section will be considered opaque in ray tracing effects. |
![]() |
bool | bVisibleInRayTracing | If true, this section will be visible in ray tracing effects. |
![]() |
uint32 | FirstIndex | Range of vertices and indices used when rendering this section. |
![]() |
int32 | MaterialIndex | The index of the material with which to render this section. |
![]() |
uint32 | MaxVertexIndex | |
![]() |
uint32 | MinVertexIndex | |
![]() |
uint32 | NumTriangles | |
![]() |
float[MAX_STATIC_TEXCOORDS] | UVDensities | The UV channel density in LocalSpaceUnit / UV Unit. |
![]() |
float[MAX_STATIC_TEXCOORDS] | Weights | The weights to apply to the UV density, based on the area. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Constructor. |