28 results for "random"
Returns a uniformly distributed random boolean — roughly 50/50 true or false on each call.
Returns true with the given probability and false otherwise.
Returns true with the given probability using a caller-supplied FRandomStream instead of the global RNG.
Returns a random float in the range [0, 1] using the global random stream.
Returns a random float uniformly distributed between Min and Max.
Returns a uniformly distributed random integer in the range [0, Max - 1].
Returns a uniformly distributed random int64 in the range [0, Max).
Returns a uniformly distributed random int64 between Min and Max, inclusive on both ends.
Returns a random integer in the inclusive range [Min, Max].
Returns a uniformly random point inside an axis-aligned bounding box defined by a center and per-axis half-extents.
Returns a uniformly random point inside an FBox.
Generates a uniformly random rotation in Pitch [-90, 90] and Yaw [-180, 180].
Returns a random unit vector (length 1) uniformly distributed over the surface of a sphere.
Convenience wrapper around RandomUnitVectorInConeInRadians that accepts degrees.
Returns a random unit vector within a symmetric cone around ConeDir, with uniform distribution on the sphere surface inside the cone.
Degree-unit wrapper around RandomUnitVectorInEllipticalConeInRadians.
Returns a random unit vector inside an elliptical cone around ConeDir with independently controlled horizontal (yaw) and vertical (pitch) half-angles.
Extracts the initial seed value from an FRandomStream.
Returns a random NavMesh point that is reachable from Origin within the given radius.
Chooses a random hue and writes a visually pleasing fully-saturated color into the target LinearColor.
Creates an FRandomStream initialized with a specific seed.
Creates a deterministic FRandomStream whose seed is derived from a world-space location, optionally quantized to a grid.
The primary math utility struct in Unreal Engine, providing static functions for arithmetic, interpolation, trigonometry, random number generation, and geometric operations.
Returns a random integer in the inclusive range [Min, Max].
Resets private actor properties to their defaults and re-seeds all FRandomStream members, so they will replay their random sequence from the beginning on the next construction.
The primary dynamic array container in Unreal Engine, equivalent to `std::vector`.
Blueprint function library providing a comprehensive set of math utilities: boolean logic, byte/int/float arithmetic, vector and rotator operations, interpolation, random number generation, and matrix math.
A graph-based audio asset that combines SoundWaves with nodes for mixing, randomization, looping, pitch modulation, and sequencing.