Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FWeightedRandomSampler
- FStaticMeshSectionAreaWeightedTriangleSampler
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/StaticMeshResources.h |
| Include | #include "StaticMeshResources.h" |
Syntax
struct FStaticMeshSectionAreaWeightedTriangleSampler : public FWeightedRandomSampler
Remarks
Creates distribution for uniformly sampling a mesh section.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FStaticMeshLODResources * | Owner | ||
| int32 | SectionIdx |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetWeights
(
TArray< float >& OutWeights |
||
| void | Init
(
FStaticMeshLODResources* InOwner, |