| MotionSettingsCcdFilter Property |
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.10.0.0 (1.10.0.14427)
Syntax public Func<RigidBody, RigidBody, bool> CcdFilter { get; set; }
Public Property CcdFilter As Func(Of RigidBody, RigidBody, Boolean)
Get
Set
public:
property Func<RigidBody^, RigidBody^, bool>^ CcdFilter {
Func<RigidBody^, RigidBody^, bool>^ get ();
void set (Func<RigidBody^, RigidBody^, bool>^ value);
}
member CcdFilter : Func<RigidBody, RigidBody, bool> with get, set
Property Value
Type:
FuncRigidBody,
RigidBody,
Boolean
A method that returns
if CCD should be used. If this method returns
, CCD is not used for the given pair of bodies. If this value is
, CCD is enabled for all pairs. The default is
.
Remarks
The method does not need to check whether parameters are . It is
guaranteed that the method is never called with parameters.
Thread-safety: This method may be called concurrently from different
threads. It must be safe for threading!
See Also