Files
o3de/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Libraries/Time/Countdown.ScriptCanvasGrammar.xml
T

77 lines
4.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ScriptCanvas Include="Include/ScriptCanvas/Libraries/Time/Countdown.h" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Class Name="TimeDelay"
QualifiedName="ScriptCanvas::Nodes::Time::TimeDelay"
PreferredClassName="Time Delay"
Uuid="{364F5AC9-8351-44B6-A069-03367B21F7AA}"
Base="ScriptCanvas::Nodes::Internal::BaseTimerNode"
GeneratePropertyFriend="True"
Deprecated="This node has been deprecated in favor of the nodeable form"
DeprecationUUID="{D3629902-02E9-AE59-0424-F366D342B433}"
Description="Delays all incoming execution for the specified number of ticks">
<In Name="In" Description="When signaled, execution is delayed at this node for the specified amount of times." Contracts="DisallowReentrantExecutionContract"/>
<OutLatent Name="Out" Description="Signaled after waiting for the specified amount of times."/>
</Class>
<Class Name="TickDelay"
QualifiedName="ScriptCanvas::Nodes::Time::TickDelay"
PreferredClassName="Tick Delay"
Uuid="{399A2608-77E3-41F9-90FA-58A9B6E0E34D}"
Base="ScriptCanvas::Node"
GeneratePropertyFriend="True"
DeprecationUUID="{D3629902-02E9-AE59-0424-F366D342B433}"
Deprecated="This node has been deprecated in favor of the nodeable form"
Description="Delays all incoming execution for the specified number of ticks">
<In Name="In" Description="When signaled, execution is delayed at this node for the specified amount of frames." Contracts="DisallowReentrantExecutionContract"/>
<OutLatent Name="Out" Description="Signaled after waiting for the specified amount of frames."/>
<Property Name="Ticks"
Description="The amount of ticks that need to occur before exeuction triggers"
Type="int"
DefaultValue="1"
IsInput="True"
IsOutput="False" />
<Property Name="Tick Order"
Description="Where in the Tick Order this delay should happen"
Type="int"
DefaultValue="static_cast&lt;int&gt;(AZ::TICK_DEFAULT)"
IsInput="True"
IsOutput="False" />
</Class>
<Class Name="Countdown"
QualifiedName="ScriptCanvas::Nodes::Time::Countdown"
PreferredClassName="Delay"
Uuid="{FAEADF5A-F7D9-415A-A3E8-F534BD379B9A}"
Base="ScriptCanvas::Node"
Version="3"
DeprecationUUID="{233C84A7-44DE-A948-D65C-46C11F1F7162}"
Deprecated="This node has been deprecated in favor of the nodeable form"
VersionConverter="ScriptCanvas::VersionConverters::DelayVersionConverter"
GeneratePropertyFriend="True"
Description="Counts down time from a specified value.">
<In Name="In" Description="When signaled, execution is delayed at this node according to the specified properties." Contracts="DisallowReentrantExecutionContract"/>
<In Name="Cancel" Description="Cancels the delay." Contracts="DisallowReentrantExecutionContract"/>
<In Name="Reset" Description="Resets the delay." Contracts="DisallowReentrantExecutionContract"/>
<OutLatent Name="Out" Description="Signaled when the delay reaches zero."/>
<Property Name="Time"
Description="Amount of time to delay, in seconds"
Type="float"
DefaultValue="1.0f"
IsInput="True"
IsOutput="False" />
<Property Name="Loop"
Description="If true, the delay will restart after triggering the Out slot"
Type="bool"
IsInput="True"
IsOutput="False" />
<Property Name="Hold"
Description="Amount of time to wait before restarting, in seconds"
Type="float"
IsInput="True"
IsOutput="False" />
<Property Name="Elapsed"
Description="The amount of time that has elapsed since the delay began."
Type="float"
IsInput="False"
IsOutput="True" />
</Class>
</ScriptCanvas>