Gets or sets a predicate method that defines whether CCD is enabled between a pair of rigid
bodies.
Namespace: DigitalRune.Physics.SettingsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.5.0.0 (1.5.0.9503)
Syntax
| C# |
|---|
public Func<RigidBody, RigidBody, bool> CcdFilter { get; set; } |
| Visual Basic |
|---|
Public Property CcdFilter As Func(Of RigidBody, RigidBody, Boolean) Get Set |
| Visual C++ |
|---|
public: property Func<RigidBody^, RigidBody^, bool>^ CcdFilter { Func<RigidBody^, RigidBody^, bool>^ get (); void set (Func<RigidBody^, RigidBody^, bool>^ value); } |
Field Value
A method that returns trueTruetruetrue (True in Visual Basic) if CCD should be used. If this method returns falseFalsefalsefalse (False in Visual Basic), CCD is not used for the given pair of bodies. If this value is nullNothingnullptra null reference (Nothing in Visual Basic), CCD is enabled for all pairs. The default is nullNothingnullptra null reference (Nothing in Visual Basic).
Remarks
The method does not need to check whether parameters are nullNothingnullptra null reference (Nothing in Visual Basic). It is guaranteed that the method is never called with nullNothingnullptra null reference (Nothing in Visual Basic) parameters.
Thread-safety: This method may be called concurrently from different threads. It must be safe for threading!