FWeightedRandomSampler

Namespace: UAssetAPI.UnrealTypes

public class FWeightedRandomSampler : System.ICloneable

Inheritance ObjectFWeightedRandomSampler
Implements ICloneable

Fields

Prob

public Single[] Prob;

Alias

public Int32[] Alias;

TotalWeight

public float TotalWeight;

Constructors

FWeightedRandomSampler()

public FWeightedRandomSampler()

FWeightedRandomSampler(Single[], Int32[], Single)

public FWeightedRandomSampler(Single[] prob, Int32[] alias, float totalWeight)

Parameters

prob Single[]

alias Int32[]

totalWeight Single

FWeightedRandomSampler(AssetBinaryReader)

public FWeightedRandomSampler(AssetBinaryReader reader)

Parameters

reader AssetBinaryReader

Methods

Write(AssetBinaryWriter)

public int Write(AssetBinaryWriter writer)

Parameters

writer AssetBinaryWriter

Returns

Int32

Clone()

public object Clone()

Returns

Object