Click or drag to resize
DigitalRuneDynamicAabbTreeTRelativeMargin Property
Gets or sets a relative margin that is added to the AABB of moving objects. (Only applied if motion prediction is enabled.)

Namespace: DigitalRune.Geometry.Partitioning
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public float RelativeMargin { get; set; }

Property Value

Type: Single

The relative margin that is added to the AABB of moving objects. (Only applied if motion prediction is enabled.)

The default value is 0.05. (The size of the AABB is increased by 5%.)

Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is out of range. Allowed range is [0, 1].
See Also