FGenericPlatformMath::SRandInit

Seeds future calls to [SRand()](API\Runtime\Core\GenericPlatform\FGenericPlatformMath\SRand)

Choose your operating system:

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 void SRandInit
(
    int32 Seed
)

Remarks

Seeds future calls to SRand()