118 Commits

Author SHA1 Message Date
badlogic
f6f3ed9542 [ue4] SpineSkeletonRendererComponent explicitely generates normals now. Added SpineLitNormalMaterial, a masked material for use with UE4s lighting. 2019-06-26 16:19:58 +02:00
badlogic
48fd1024c0 [ue4] Fixed re-import of atlas page textures. 2019-06-06 18:48:07 +02:00
badlogic
df310af0bc [ue4] Added warning if data version can't be loaded by runtime version. Fixed up skin bone requirements in renderer. Cleaned up examples. 2019-06-06 17:55:15 +02:00
badlogic
09130b15df Merge branch '3.7' into 3.8-beta 2019-05-02 11:43:36 +02:00
badlogic
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
badlogic
145aaf27ce [ue4] Skeletons in SpineWidget are centered now. Closes #1329. 2019-04-17 16:28:25 +02:00
badlogic
64542d92cc [ue4] Fixed scaling and rendering of widget. SpineWidget has an additional field Scale that can be used to size a skeleton in a widget in a addition to the default sizing based on the setup pose bounds. 2019-04-12 17:11:46 +02:00
badlogic
bf0999e202 [ue4] Fix crash related to multi-cast delegates. Re-used the event callback for SkeletonAnimationComponent. That cast the rendering object to that class, when the class is really SpineWidget. Lead to various mystery crashes. 2019-04-12 16:17:11 +02:00
badlogic
262f2d8aa6 Merge branch '3.7' into 3.8-beta 2019-04-08 18:04:27 +02:00
badlogic
4f0b7bef2c [ue4] Fixed UE 4.22 linker error. IMPLEMENT_MODULE macro changed. No mention of this in the UE changelog. 2019-04-08 18:04:08 +02:00
badlogic
35edb7922e [ue4] Remove dependency on RHI, RenderCore, and ShaderCore. Still doesn't work with UE 4.22 as symbol names generator in UBT seems broken. Linker can't find editor plugin symbols. 2019-04-08 17:47:42 +02:00
badlogic
39195fd710 [ue4] Port of SkeletonAnimationComponent to SpineWidget. Tick needs to be explicitely called by user in blueprint. 2019-03-29 16:55:22 +01:00
badlogic
cdaef06850 [ue4] Port of SkeletonComponent to SpineWidget.2 2019-03-29 16:00:51 +01:00
badlogic
461c7231b2 [ue4] Rewrite user changes. Need to duplicate code from SkeletonComponent and SkeletonAnimationComponent. 2019-03-29 15:31:36 +01:00
unreal_netfly
78a5d850a7 Fix Widget rendering error 2019-03-21 09:53:51 +08:00
badlogic
79e4f9ca69 [ue4] Only show preview animation and skin in editor viewports. 2019-03-08 16:37:22 +01:00
badlogic
8018bdfa23 [ue4] Rename category of preview properties. 2019-03-07 18:10:19 +01:00
badlogic
8185418319 [ue4] Fixed encoding of strings where necessary. Closes #1291. 2019-03-07 17:22:30 +01:00
badlogic
dcce71416f [ue4] Fixed call order of SpineSkeletonImportFactory, asset file name must be set before setting raw data. Fixes issue with importing .json files. See #1291. 2019-03-07 16:31:15 +01:00
badlogic
cef191f6c6 [ue4] Fixed segfault in SpineSkeletonDataAsset. Added PreviewAnimation and PreviewSkin to SpineSkeletonAnimationComponent. Enter the name of an animation or skin and it will be previewed live in the editor view. Use an empty string to reset the animation or skin. 2019-03-06 16:54:47 +01:00
badlogic
4ba46d76e8 [ue4] Extended skeleton data editor preview. It now shows bones, slots, animations, and skins. Closes #1047. 2019-03-06 16:21:27 +01:00
badlogic
75f21f846c [ue4] Query methods for SpineSkeletonComponent and UTrackEntry. Closes #1289. 2019-03-06 15:11:24 +01:00
badlogic
af0b285c73 [ue4] Fix formatting. 2019-03-06 12:01:24 +01:00
Carlos Ibanez
3151f1abbb - Added support for external tools.
- Added UpdateRenderer method, that allows to pass a custom Skeleton and
can be called externally.
2019-02-11 13:33:50 -03:00
badlogic
8fe981cfe1 [ue4] Fixed up PR #1251. 2019-01-23 16:42:38 +01:00
badlogic
c255347fb1 [ue4] Closes #1246. Rewrote the way asset re-imports work and are signaled to the Spine components. 2019-01-22 16:00:43 +01:00
badlogic
3c06a0881f [ue4] Clean-up of assets and build scripts. 2019-01-17 16:35:03 +01:00
badlogic
4c9ec06083 [ue4] Updated sample project to require UE 4.21+. Fixed shadowing local variables. See #1250. 2019-01-17 16:19:12 +01:00
Carlos Ibanez
b21ecba445 - (UE4) Changes meant to support PaperZD or any other external plugins which need to interface directly with the renderer.
- (UE4) Added skeleton animation caching on SkeletonRenderer to avoid
per tick searches which are costly. The skeleton animation component can
be setup externally.
- (UE4) Added bAutoPlays members to AnimationComponent, so the skeleton
doesn't update automatically if its needed.
- (UE4) Added SetPlaybackTime method to AnimationComponent.
2019-01-14 12:06:59 -03:00
soctty
6bea3e8e8f Expose Dynamic Material Instances (#1225)
Moved atlasXBlendMaterials arrays to public namespace for accessibility at runtime.

See also:
https://github.com/EsotericSoftware/spine-runtimes/issues/1210
2018-12-17 15:05:53 +01:00
badlogic
85139aed5f [ue4] fixed up header. 2018-10-03 22:05:40 +02:00
przemyslawlis
566afe6c57 [UE4] UBoneDriverComponent and UBoneFollowerComponent as USceneComponent (#1175)
* bone driver component as scene component

* bone follower component as scene component
2018-10-03 13:23:02 +02:00
badlogic
e7058b225c [ue4] Fixed include paths, closes #1189. 2018-10-03 13:21:43 +02:00
badlogic
6f486a03a1 [ue4] Reverted re-import fix, lead to memory corruption... 2018-09-28 17:54:27 +02:00
badlogic
a653a0a412 [ue4] Fixed up editor plugin build file. 2018-09-25 15:47:42 +02:00
badlogic
b2479bf7bf [ue4] Updated example project to 4.20. Fixed re-import of skeletons, see #1177. 2018-09-25 15:46:09 +02:00
Nick Pruehs
b67b2f098a Expose collision generation for skeleons for Unreal 4 blueprints. (#1167) 2018-08-30 13:32:39 +02:00
Nick Pruehs
77ae166c99 Expose USpineAtlasAsset and USpineSkeletonDataAsset types for Unreal 4 blueprints. (#1165) 2018-08-30 13:31:36 +02:00
badlogic
a7debf8bcd [ue4] Partial fix for #1150. 2018-08-13 14:08:46 +02:00
badlogic
8ebf1e34d6 [ue4] Fixed sample regarding flipX/flipY -> scaleX/scaleY, example projects require 4.18 now. 2018-07-24 16:13:49 +02:00
badlogic
77d495bc6d [ue4] Ported flipX/flipY -> scaleX/scaleY change. See #1142. 2018-07-24 15:16:23 +02:00
badlogic
6bcdd45a05 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-07-18 14:56:55 +02:00
badlogic
0150cf5e2d [ue4] Don't render invisible skeletons/slots/attachments. 2018-07-18 14:42:57 +02:00
badlogic
b0c88b2322 Fixed up build for UE 4.20 preview 5. Packaging compiler flags are more strict than editor compiler flags... 2018-07-13 14:27:34 +02:00
badlogic
fbe0692c4c Merge branch '3.7-beta' into 3.7-beta-cpp 2018-07-03 13:45:19 +02:00
badlogic
71c0887dab [ue4] Added error dialogs when skeleton and atlas couldn't be loaded. 2018-07-03 12:14:59 +02:00
badlogic
4aceccc1ca More UMG code, doesn't render. 2018-06-13 18:04:44 +02:00
badlogic
79e607a5f1 Added SpineSkeletonComponent::GetBones, closes #1082. 2018-06-13 15:08:14 +02:00
badlogic
048afd8e09 More changes to CHANGELOG. 2018-06-11 14:58:06 +02:00
badlogic
4273b798f3 [ue4] Added commented build line in plugin Build.cs for UE 4.20. Updated C++ sample. 2018-06-08 15:40:14 +02:00