Skip to content

getrandomarrayelementunweighted

eisclimber edited this page Apr 4, 2026 · 1 revision

RuntimeUtils.GetRandomArrayElementUnweighted(T[])

Method in RuntimeUtils

Summary

Returns a random element from an array using linear distribution.

public static T GetRandomArrayElementUnweighted<T>(T[] objects)

Parameters

Name Description
T[] objects Objects to draw from.

Type Parameters

Name Description
T Type of the object to draw.

Returns

A random object from the array.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally