wiki.sine.space | sinespace

Difference between revisions of "Scripting/SAnimatorStateInfo"

From wiki.sine.space
Jump to: navigation, search
(Created page with "=Members= {{ScriptFunction|bool|isName|(string name)|Does name match the name of the active state in the statemachine?|5=<pre></pre>}} {{ScriptFunction|bool|isTag|(string t...")
 
(Replaced content with "This page has moved to: https://docs.sine.space/v/scripting/client-scripting/types/sanimatorstateinfo")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Members=
+
This page has moved to: https://docs.sine.space/v/scripting/client-scripting/types/sanimatorstateinfo
 
+
 
+
{{ScriptFunction|bool|isName|(string name)|Does name match the name of the active state in the statemachine?|5=<pre></pre>}}
+
 
+
{{ScriptFunction|bool|isTag|(string tag)|Does tag match the tag of the active state in the statemachine.|5=<pre></pre>}}
+
 
+
 
+
 
+
=Properties=
+
 
+
 
+
{{ScriptFunction|int|fullPathHash|{ get; }|The full path hash for this state.|5= <pre></pre>}}
+
 
+
{{ScriptFunction|int|nameHash|{ get; }|The hashed name of the State.|5= <pre></pre>}}
+
 
+
{{ScriptFunction|int|shortNameHash|{ get; }|The hash is generated using SAnimator.StringToHash. The hash does not include the name of the parent layer.|5= <pre></pre>}}
+
 
+
{{ScriptFunction|float|normalizedTime|{ get; }|Normalized time of the State.|5= <pre></pre>}}
+
 
+
{{ScriptFunction|float|length|{ get; }|Current duration of the state.|5= <pre></pre>}}
+
 
+
{{ScriptFunction|float|speed|{ get; }|The playback speed of the animation. 1 is the normal playback speed.|5= <pre></pre>}}
+
 
+
{{ScriptFunction|float|speedMultiplier|{ get; }|The speed multiplier for this state.|5= <pre></pre>}}
+
 
+
{{ScriptFunction|int|tagHash|{ get; }|The Tag of the State.|5= <pre></pre>}}
+
 
+
{{ScriptFunction|bool|loop|{ get; }|Is the state looping.|5= <pre></pre>}}
+
 
+
{{ScriptFunction|float|Length|{ get; }|Current duration of the state.|5= <pre></pre>}}
+
 
+
 
+
 
+
 
+
 
+
{{Scripting Navbox}}
+

Latest revision as of 07:43, 19 September 2022

This page has moved to: https://docs.sine.space/v/scripting/client-scripting/types/sanimatorstateinfo