This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Landscape Tool
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Content Creation
Content Optimization
Materials
Art Samples
Tutorials

Unigine.Random Struct.

Notice
The functions listed below are the members of the Unigine.MathLib namespace.

Random Class

Members


uint CalcRandomSeed ( ) #

Return value

Resulting uint value.

ref Random Get ( ) #

Return value

Return value.

uint UInt ( ) #

Return value

Resulting uint value.

int Int ( ) #

Return value

Resulting int value.

ulong ULong ( ) #

Return value

Resulting ulong value.

long Long ( ) #

Return value

Resulting long value.

float Float ( ) #

Return value

Resulting float value.

double Double ( ) #

Return value

Resulting double value.

vec4 Color ( ) #

Return value

Return value.

vec3 Direction ( ) #

Return value

Return value.

int Int ( int from, int to ) #

Arguments

  • int from - From value (beginning of the range).
  • int to - To value (end of the range).

Return value

Resulting int value.

float Float ( float from, float to ) #

Arguments

  • float from - From value (beginning of the range).
  • float to - To value (end of the range).

Return value

Resulting float value.

double Double ( double from, double to ) #

Arguments

  • double from - From value (beginning of the range).
  • double to - To value (end of the range).

Return value

Resulting double value.

vec2 Vec2 ( vec2 from, vec2 to ) #

Arguments

  • vec2 from - From value (beginning of the range).
  • vec2 to - To value (end of the range).

Return value

Return value.

vec3 Vec3 ( vec3 from, vec3 to ) #

Arguments

  • vec3 from - From value (beginning of the range).
  • vec3 to - To value (end of the range).

Return value

Return value.

vec4 Vec4 ( vec4 from, vec4 to ) #

Arguments

  • vec4 from - From value (beginning of the range).
  • vec4 to - To value (end of the range).

Return value

Return value.
Last update: 2021-06-16
Build: ()