Click or drag to resize
DigitalRuneCollisionFilterGet Method (Int32, Int32)
Returns if collisions between two collision groups are enabled.

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public bool Get(
	int groupA,
	int groupB
)

Parameters

groupA
Type: SystemInt32
The first collision group.
groupB
Type: SystemInt32
The second collision group.

Return Value

Type: Boolean
if collisions with the between groupA and groupB are enabled; otherwise .

Implements

ICollisionFilterGet(Int32, Int32)
Exceptions
ExceptionCondition
IndexOutOfRangeExceptiongroupA or groupB is out of range.
Remarks
This method checks only the flag that was set with Set(Int32, Int32, Boolean).
See Also