AxisState.SetThresholds Method

Cinemachine

AxisStateSetThresholds Method

Sets the constraints by which this axis will operate on

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public void SetThresholds(
	float minValue,
	float maxValue,
	bool wrapAround
)
function SetThresholds(minValue, maxValue, wrapAround);

Parameters

minValue
Type: SystemSingle
The lowest value this axis can achieve
maxValue
Type: SystemSingle
The highest value this axis can achieve
wrapAround
Type: SystemBoolean
If true, values commanded greater than mMaxValue or less than mMinValue will wrap around. If false, the value will be clamped within the range.
See Also