| ContactConstraintIConstraintEnabled Property |
Gets a value indicating whether this constraint is enabled.
Namespace: DigitalRune.Physics.ConstraintsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax bool IConstraint.Enabled { get; }
Private ReadOnly Property Enabled As Boolean
Implements IConstraint.Enabled
Get
private:
virtual property bool Enabled {
bool get () sealed = IConstraint::Enabled::get;
}
private abstract Enabled : bool with get
private override Enabled : bool with get
Property Value
Type:
Boolean if enabled; otherwise,
.
The default is
.
Implements
IConstraintEnabledRemarks Enabled can be set to
to temporarily disable the
constraint. If the constraint should be disabled for a longer period, it is more efficient
to remove the constraint from the
Simulation.
See Also