| BuoyancyDensity Property |
Gets or sets the density of the liquid.
Namespace: DigitalRune.Physics.ForceEffectsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public float Density { get; set; }
Public Property Density As Single
Get
Set
public:
property float Density {
float get ();
void set (float value);
}
member Density : float32 with get, set
Property Value
Type:
SingleThe density. The default density is
1000 (water density).
Remarks
Higher density values create stronger upward forces.
See Also