Adds sample with object location.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public void AddSample(
	double time,
	Vector3 position
)

Parameters

time
Type: System..::.Double
Time when object has moved to position position.
position
Type: Vector3
New position of the object.

Remarks

Method allows to add new samples of object's movement. Last two samples are used for current velocity calculation.

See Also