ConVar.SetBounds Method

Sets the specified bound of a console variable.

void SetBounds(ConVarBounds type, bool set, float value)

Parameters

ConVarBounds type

Type of bound to set, ConVarBound_Lower or ConVarBound_Upper

bool set

If set to true, convar will use specified bound. If false, bound will be removed.

float value

Floating point value to use as the specified bound.