You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is useful both for convenience (when you use that field multiple times you don't have to put lengthy string path every time) and optimization (you don't have to perform any string lookups in this case, read/write by reference is O(1)), also to make it more consistent, because you already can do this for AnimationNodeBlendSpace2d, because its blend_position is object (with x and y), but can't do this for AnimationNodeBlendSpace1d because its blend_position is scalar.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Lets say I have the following script:
I would like to be able to get reference to Movement (
AnimationNodeBlendSpace1d
) object once and use it afterwards like this:This is useful both for convenience (when you use that field multiple times you don't have to put lengthy string path every time) and optimization (you don't have to perform any string lookups in this case, read/write by reference is O(1)), also to make it more consistent, because you already can do this for
AnimationNodeBlendSpace2d
, because itsblend_position
is object (with x and y), but can't do this forAnimationNodeBlendSpace1d
because itsblend_position
is scalar.Beta Was this translation helpful? Give feedback.
All reactions