Documentation > Mesh Ops Plugin BPLibrary > Weighted Tri Map

Weighted Tri Map

Generates a Map used to get a weighted random triangle index. The key of the map represents indexes in the Tris array, and the value of the map at each key represents its weight by relative size.

Inputs

In
Exec

Data
Mesh Data Structure (by ref)

Map
Map of Integers to Integers

Force
Boolean

Adjust
Float

Bias
Vector

Outputs

Out
Exec

Return Value
Boolean

Generates a Map used to get a weighted random triangle index. The key of the map represents indexes in the Tris array, and the value of the map at each key represents its weight by relative size.