Also fixes type conversions (first time I have tried to convert to a base class and found that my IsChildOf check was the wrong way around).
Plus some extra accessors added for exec/update contexts.
Found the need for these when doing show & tell prep.
#rb Jurre.deBaare
#ROBOMERGE-SOURCE: CL 17367354 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)
[CL 17367419 by thomas sarkanen in ue5-release-engine-test branch]
Fixes anim task blocking on RB sim task and doing 0 work, now taskgraph schedules work and doesn't lock up extra threads.
#jira UE-120634
#rb chris.caulfield
#ROBOMERGE-SOURCE: CL 17083918 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)
[CL 17083927 by max whitehead in ue5-release-engine-test branch]
Crash using ControlRig in Sequencer
#info save/use cached pose nodes are not correctly invalidated/refreshed due to ControlRig edit mode invoking evaluation of the same anim instance multiple times per frame
#fix ensure that various counters used for synchronization/invalidation of cached data are used by ControlRigLayer proxy - and applied whenever update/evaluating the source "input" proxy
#ROBOMERGE-SOURCE: CL 16927983 via CL 16928005
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)
[CL 16928022 by jurre debaare in ue5-release-engine-test branch]
#info save/use cached pose nodes are not correctly invalidated/refreshed due to ControlRig edit mode invoking evaluation of the same anim instance multiple times per frame
#fix ensure that various counters used for synchronization/invalidation of cached data are used by ControlRigLayer proxy - and applied whenever update/evaluating the source "input" proxy
#rb Martin.Wilson
[FYI] Mike.Zyracki, Halfdan.Ingvarsson
#ROBOMERGE-SOURCE: CL 16922496 via CL 16926362
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)
[CL 16926740 by jurre debaare in ue5-release-engine-test branch]
For now, removing these as their semantics are due to change
Also converting Update and Become Relevant functions to use more-devived-typed update context (less casting required)
#rb Jurre.deBaare
#ROBOMERGE-SOURCE: CL 16771205 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)
[CL 16771237 by thomas sarkanen in ue5-release-engine-test branch]
Fixes a case in RBAN where mesh component initialisation may pass through a zero delta time which can be used to divide in the calculation of a velocity when the node is set to inherit bone velocities.
#rb Benn.Gallagher
#jira UE-118618
#ROBOMERGE-SOURCE: CL 16755554 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)
[CL 16755562 by RyanyiNF in ue5-release-engine-test branch]
- SetPreviewSkeletalMesh to UAnimationAsset and UAnimBlueprint
- Functionality to retrieve UAnimationGraphs and UAnimationGraphNodes of a specific class from UAnimBlueprint and UAnimationGraph respectively
- Functionality for pose driver/asset scripting
#jira UE-117797
#rb Thomas.Sarkanen
#preflight 60d075e32ab218000115936a
#preflight 60d1a3eaa819040001397a52
#ROBOMERGE-SOURCE: CL 16741838 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)
[CL 16741845 by jurre debaare in ue5-release-engine-test branch]
Split 'node context' into an 'evaluation context' and a 'node reference' type and updated regular function signatures when creating node functions. This way we can seperate concerns (and potentially reference anim nodes standalone in the future).
Moved function caller code into function ref file to stop AnimNodeBase bloat.
Fixed functions not being called on root nodes.
#rb Jurre.deBaare
#ROBOMERGE-SOURCE: CL 16727107 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)
[CL 16727111 by thomas sarkanen in ue5-release-engine-test branch]
Adds 'template' anim BP concept. These anim BPs have no TargetSkeleton and as such cannot have direct references to animations placed inside of their anim graphs
Adds function call support from anim nodes. All anim graph nodes can now call functions when initialized, updated, evaluated or when they first become relevant.
Relevancy is established using a new FAnimSubsystemInstance_NodeRelevancy which tracks nodes in a local map, per UAnimInstance, if nodes require it.
Functions are displayed on the node if bound, and in the details panel.
Added a new override point to FAnimSubsystemInstance to allow for WT init.
Moved FMemberReference customization into a public header so it can be used on anim node functions.
Wrapped functions up into FAnimNodeFunctionRef structure so they can be re-used more effectively. Converted CallFunction node to use them.
Added a couple of simple BP function libraries to demonstrate the use of the new FAnimNodeContext (this is intended to be a generic way of exposing FAnimNode_Base types to script without the node types themselves having to be known to script directly).
Added the ability to set exposed properties as 'always dynamic' so they appear in mutable data rather than being merged into constants. This allows for the anim node data API to be changed to be less strict (and more script friendly). Now values can be set in mutable data (via GET_MUTABLE_ANIM_NODE_DATA_PTR) and attempted sets to constant data can be ignored and reported to client code.
A few minor crash fixes with edge cases (inc when trying to open an asset editor fails because of a missing skeleton/cancellation).
Also fixes an issue where literal linked anim graph/control rig/custom poroperty node inputs didnt get copied
#rb Jurre.deBaare,Aaron.Cox
#ROBOMERGE-SOURCE: CL 16703644 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)
[CL 16703653 by thomas sarkanen in ue5-release-engine-test branch]
Introduces a serial number to FBoneContainer that allows easier refreshing of bone-relative data. Eventually the overall CacheBones path could be superseded with lazy-update systems based on this serial number.
#jira UE-116464 - Layered blend per bone crash
#rb Jurre.deBaare
#ROBOMERGE-SOURCE: CL 16466917 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v823-16466674)
[CL 16466922 by thomas sarkanen in ue5-release-engine-test branch]
Introduces a serial number to FBoneContainer that allows easier refreshing of bone-relative data. Eventually the overall CacheBones path could be superseded with lazy-update systems based on this serial number.
#jira UE-116464 - Layered blend per bone crash
#rb Jurre.deBaare
[CL 16466917 by Thomas Sarkanen in ue5-main branch]