Click or drag to resize

DocumentRun Method (Double, Function, Object)

FOR INTERNAL USE ONLY.

Schedule a function to be called with given arguments after a delay in simulation time.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public ITask Run(
	double delay,
	Function function,
	params Object[] args
)

Parameters

delay
Type: SystemDouble
Simulation time from now in seconds.
function
Type: Function
The function to be invoked.
args
Type: SystemObject
The arguments to pass to the function.

Return Value

Type: ITask
An ITask representing the scheduled function.
See Also