Click or drag to resize

ContainerModelDropoffRate Property

Sets the rate at which the contents of this Container will be dropped on a FlatContainer.

Namespace:  Livit.Learn.Model
Assembly:  Livit.Learn.Model (in Livit.Learn.Model.dll) Version: 0.0.0.0
Syntax
C#
public string DropoffRate { get; set; }

Property Value

Type: String
Remarks

The DropoffRate is the amount of content the Container will transfer to a FlatContainer on every frame. This value can be a number or a mathematical formula.

Examples
Using a fixed value:
XML
<container DropoffRate="1" />
Using a mathematical formula:
XML
<container DropoffRate="{Binding Contents.Amount}*0.022*Random(1,3)" />
See Also