Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h |
Include | #include "Engine/StaticMesh.h" |
Syntax
USTRUCT ()
struct FMeshSectionInfo
Remarks
Per-section settings.
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 shadows. |
![]() ![]() |
bool | bEnableCollision | If true, collision is enabled for this section. |
![]() ![]() |
bool | bForceOpaque | If true, this section will always considered opaque in ray tracing Geometry. |
![]() ![]() |
bool | bVisibleInRayTracing | If true, this section will be visible in ray tracing Geometry. |
![]() ![]() |
int32 | MaterialIndex | Index in to the Materials array on UStaticMesh. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default values. | ||
![]() |
FMeshSectionInfo
(
int32 InMaterialIndex |
Default values with an explicit material index. |