Budget Property

Project Mercury API

[This is preliminary documentation and is subject to change.]

Gets or sets the number of Particles which are available to the Emitter.

Namespace:  ProjectMercury.Emitters
Assembly:  ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0

Syntax

C#
public int Budget { get; set; }
Visual Basic (Declaration)
Public Property Budget As Integer
Visual C++
public:
property int Budget {
	int get ();
	void set (int value);
}

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThrown if trying to set this property after the Emitter has been initialised.
System..::.ArgumentOutOfRangeExceptionThrown if the specified value is less than 1.

See Also