Table of Contents

Struct StepRate

Namespace
Game.Core.Simulation
Assembly
Game.Core.Simulation.dll
public struct StepRate
Extension Methods

Fields

Value

public readonly int Value

Field Value

int

Zero

public static readonly StepRate Zero

Field Value

StepRate

Methods

Clamp(StepRate, StepRate, StepRate)

public static StepRate Clamp(StepRate x, StepRate a, StepRate b)

Parameters

x StepRate
a StepRate
b StepRate

Returns

StepRate

CompareTo(StepRate)

public int CompareTo(StepRate other)

Parameters

other StepRate

Returns

int

Equals(StepRate)

public bool Equals(StepRate other)

Parameters

other StepRate

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Max(StepRate, StepRate)

public static StepRate Max(StepRate a, StepRate b)

Parameters

a StepRate
b StepRate

Returns

StepRate

Min(StepRate, StepRate)

public static StepRate Min(StepRate a, StepRate b)

Parameters

a StepRate
b StepRate

Returns

StepRate

Sign(StepRate)

public static int Sign(StepRate x)

Parameters

x StepRate

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator +(StepRate, StepRate)

public static StepRate operator +(StepRate lhs, StepRate rhs)

Parameters

lhs StepRate
rhs StepRate

Returns

StepRate

operator /(StepRate, int)

public static StepRate operator /(StepRate lhs, int rhs)

Parameters

lhs StepRate
rhs int

Returns

StepRate

operator /(Steps, StepRate)

public static Ticks operator /(Steps lhs, StepRate rhs)

Parameters

lhs Steps
rhs StepRate

Returns

Ticks

operator ==(StepRate, StepRate)

public static bool operator ==(StepRate lhs, StepRate rhs)

Parameters

lhs StepRate
rhs StepRate

Returns

bool

operator >(StepRate, StepRate)

public static bool operator >(StepRate lhs, StepRate rhs)

Parameters

lhs StepRate
rhs StepRate

Returns

bool

operator >=(StepRate, StepRate)

public static bool operator >=(StepRate lhs, StepRate rhs)

Parameters

lhs StepRate
rhs StepRate

Returns

bool

operator !=(StepRate, StepRate)

public static bool operator !=(StepRate lhs, StepRate rhs)

Parameters

lhs StepRate
rhs StepRate

Returns

bool

operator <(StepRate, StepRate)

public static bool operator <(StepRate lhs, StepRate rhs)

Parameters

lhs StepRate
rhs StepRate

Returns

bool

operator <=(StepRate, StepRate)

public static bool operator <=(StepRate lhs, StepRate rhs)

Parameters

lhs StepRate
rhs StepRate

Returns

bool

operator %(StepRate, int)

public static StepRate operator %(StepRate lhs, int rhs)

Parameters

lhs StepRate
rhs int

Returns

StepRate

operator *(StepRate, Ticks)

public static Steps operator *(StepRate lhs, Ticks rhs)

Parameters

lhs StepRate
rhs Ticks

Returns

Steps

operator *(StepRate, int)

public static StepRate operator *(StepRate lhs, int rhs)

Parameters

lhs StepRate
rhs int

Returns

StepRate

operator *(Ticks, StepRate)

public static Steps operator *(Ticks lhs, StepRate rhs)

Parameters

lhs Ticks
rhs StepRate

Returns

Steps

operator *(int, StepRate)

public static StepRate operator *(int lhs, StepRate rhs)

Parameters

lhs int
rhs StepRate

Returns

StepRate

operator -(StepRate, StepRate)

public static StepRate operator -(StepRate lhs, StepRate rhs)

Parameters

lhs StepRate
rhs StepRate

Returns

StepRate

operator -(StepRate)

public static StepRate operator -(StepRate tick)

Parameters

tick StepRate

Returns

StepRate

operator +(StepRate)

public static StepRate operator +(StepRate tick)

Parameters

tick StepRate

Returns

StepRate