Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FStaticMeshAreaWeightedSectionSampler
- FWeightedRandomSampler::GetWeights()
- FStaticMeshAreaWeightedSectionSampler::GetWeights()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/StaticMeshResources.h |
Include | #include "StaticMeshResources.h" |
Source | /Engine/Source/Runtime/Engine/Private/StaticMesh.cpp |
virtual float GetWeights
(
TArray < float > & OutWeights
)
Remarks
Gets the weight of all elements and returns their sum.