ActorSpeedCondition
Description
An ActorSpeedCondition object represents an Actor
Speed condition in the RoadRunner scenario logic. The Actor Speed condition specifies for the
associated phase to end when an actor reaches the specified speed. Specifying
ActorSpeedCondition as the condition type when creating an end or fail
condition in your scenario adds an Actor Speed condition to the specified
phase in the scenario logic. You can use an ActorSpeedCondition object to
programmatically modify the attributes of the corresponding Actor Speed
condition by changing the property values of the object.
Creation
You can create an ActorSpeedCondition object in these ways:
The
setEndConditionfunction creates and assigns a condition of the specified type to the end of a specified phase. Specify theconditionTypeargument as"ActorSpeedCondition"to create anActorSpeedConditionobject associated with the specified phase.The
setFailConditionfunction assigns a condition of the specified type to the Fail Conditions of the scenario root phase. Specify theconditionTypeargument as"ActorSpeedCondition"to create anActorSpeedConditionobject associated with the scenario Fail Conditions.
Properties
Examples
Version History
Introduced in R2025a