Class WallSecondsCondition
Condition object to evaluate if a specific number of wall seconds since object instantiation have elapsed.
Implements
Inherited Members
Namespace: Unity.SimulationPro
Assembly: Unity.SimulationPro.Capture.dll
Syntax
public class WallSecondsCondition : ICondition
Constructors
WallSecondsCondition(double)
Creates a new WallSecondsCondition that triggers after the specified wall-clock time.
Declaration
public WallSecondsCondition(double seconds)
Parameters
| Type | Name | Description |
|---|---|---|
| double | seconds | The number of wall-clock seconds that must elapse. |
Methods
HasConditionBeenMet()
Check if the specified number of wall seconds have passed.
Declaration
public bool HasConditionBeenMet()
Returns
| Type | Description |
|---|---|
| bool | True if the specified number of seconds has elapsed. |