FStaticMeshSection

A set of static mesh triangles which are rendered with the same material.

Windows
MacOS
Linux

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

Name Description

Public variable

bool

 

bCastShadow

If true, this section will cast a shadow.

Public variable

bool

 

bEnableCollision

If true, collision is enabled for this section.

Public variable

bool

 

bForceOpaque

If true, this section will be considered opaque in ray tracing effects.

Public variable

bool

 

bVisibleInRayTracing

If true, this section will be visible in ray tracing effects.

Public variable

uint32

 

FirstIndex

Range of vertices and indices used when rendering this section.

Public variable

int32

 

MaterialIndex

The index of the material with which to render this section.

Public variable

uint32

 

MaxVertexIndex

Public variable

uint32

 

MinVertexIndex

Public variable

uint32

 

NumTriangles

Public variable

float[MAX_STATI...

 

UVDensities

The UV channel density in LocalSpaceUnit / UV Unit.

Public variable

float[MAX_STATI...

 

Weights

The weigths to apply to the UV density, based on the area.

Constructors

Name Description

Public function

FStaticMeshSection()

Constructor.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss