Click or drag to resize
DigitalRuneUniformMaterialSupportsSurfaceMotion Property
Gets a value indicating whether this material supports surface motion.

Namespace: DigitalRune.Physics.Materials
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public bool SupportsSurfaceMotion { get; }

Property Value

Type: Boolean
if this material supports surface motion; otherwise, . The default value is .
Remarks

This flag indicates whether the material supports a surface motion - it does not indicate if the current SurfaceMotion is non-zero. The simulation has optimizations for contacts where materials will never have a surface motion. If a material will at any time use a non-zero surface motion this flag must be set to , even if the current surface motion velocity is zero.

This flag is read-only and can only be set in the constructor of this class.

See Also