Commit Graph

2 Commits

Author SHA1 Message Date
Thomas Sarkanen
2878a344ae Anim Blueprint compiler can now access member variables directly instead of thunking to the VM
Optimization is enabled by default but is an engine setting in case it needs to be disabled (bOptimizeAnimBlueprintMemberVariableAccess).
Expanded FExposedValueHandler to also contain an array of source & dest properties (copy records) to copy between. These are resolved to read/write addresses on init & a simple memcpy at runtime instead of calling the usual generated custom event.
Custom events are not added at all if all properties use copy records. The event may still be added & called however as mixed-mode access is still supported (i.e. a thunk and a memcpy to different pin properties).
Unfortunately this required initialization of all ExposedValueHandlers (as I didnt want to add the branch overhead of lazy init) so all the anim nodes have needed a small change to call their base class Initialize().

[CL 2678504 by Thomas Sarkanen in Main branch]
2015-09-03 09:55:41 -04:00
Lina Halper
bb3cbeb9d2 #ANIM: Moving available animnodes to AnimGraphRuntime module
[CL 2629295 by Lina Halper in Main branch]
2015-07-22 14:37:24 -04:00