FGenericPlatformMath::GetRandSeed

Returns the current seed for [SRand()](API\Runtime\Core\GenericPlatform\FGenericPlatformMath\SRand).

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h

Include

#include "GenericPlatform/GenericPlatformMath.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMath.cpp

Syntax

static int32 GetRandSeed()

Remarks

Returns the current seed for SRand().

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss