FWeightedRandomSampler
Namespace: UAssetAPI.UnrealTypes
public class FWeightedRandomSampler : System.ICloneable
Inheritance Object → FWeightedRandomSampler
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
Clone()
public object Clone()