Click or drag to resize
PlanBaseItem Property
Retrieves the coordinate specified by a 0-based index for this plan

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual PlanBaseCoordinate this[
	int index
] { get; }

Parameters

index
Type: SystemInt32

Property Value

Type: PlanBaseCoordinate
Examples
The following code shows how you might limit the value of a coordinate so that it doesn't exceed the value of the weight assigned to the first coordinate in a plan. This indexer property ("this[]") is used to access the coordinates.
if (Counter.AnimationCounter.CurrentValue > this[0].weight)
               Counter.AnimationCounter.CurrentValue = this[0].weight;
See Also