Click or drag to resize
DigitalRuneLinearLimitGetLimitState Method
Gets the state of a linear limit.

Namespace: DigitalRune.Physics.Constraints
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public LimitState GetLimitState(
	int index
)

Parameters

index
Type: SystemInt32
The index of the limit axis. (0 = x-axis, 1 = y-axis, 2 = z-axis).

Return Value

Type: LimitState
The limit state on the given axis.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is not in the range [0, 2].
See Also