Table of Contents

Interface IDeterministicRandom<TInput>

Namespace
Backdash.Synchronizing.Random
Assembly
Backdash.dll

Defines a deterministic random number generator

public interface IDeterministicRandom<TInput> : INetcodeRandom where TInput : unmanaged

Type Parameters

TInput
Inherited Members

Methods

UpdateSeed(in Frame, ReadOnlySpan<TInput>, uint)

Updates the seed for the current random instance

void UpdateSeed(in Frame currentFrame, ReadOnlySpan<TInput> inputs, uint extraState = 0)

Parameters

currentFrame Frame
inputs ReadOnlySpan<TInput>
extraState uint