Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FStaticMeshAreaWeightedSectionSampler |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/StaticMeshResources.h |
| Include Path | #include "StaticMeshResources.h" |
Syntax
struct FStaticMeshAreaWeightedSectionSampler : public FWeightedRandomSampler
Inheritance Hierarchy
- FWeightedRandomSampler → FStaticMeshAreaWeightedSectionSampler
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStaticMeshAreaWeightedSectionSampler() |
StaticMeshResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init
(
const FStaticMeshLODResources* InOwner |
StaticMeshResources.h |
Protected
Overridden from FWeightedRandomSampler
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual float GetWeights
(
TArray< float >& OutWeights |
Gets the weight of all elements and returns their sum. | StaticMeshResources.h |