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
Michael Noland
10215d3649 Animation: Renamed AnimNodeSkeletalControlBase.cpp to AnimNode_SkeletalControlBase.cpp, so it matches the header and class name
[CL 2590713 by Michael Noland in Main branch]
2015-06-17 15:28:20 -04:00