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