From 115d253c7713795728eb4e46a741857e8f0c8d23 Mon Sep 17 00:00:00 2001 From: RGCHN Date: Tue, 29 Oct 2024 20:02:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=20Spine=20?= =?UTF-8?q?=E5=85=83=E7=B4=A0=E4=B8=AD=E8=92=99=E7=89=88=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/item/spine-item.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/item/spine-item.ts b/src/item/spine-item.ts index a242a7c..c8ffab0 100644 --- a/src/item/spine-item.ts +++ b/src/item/spine-item.ts @@ -2,7 +2,7 @@ import type { BinaryPointer } from '../binary'; import type { ComponentData, DataPath, DataType } from '../components'; import type { SizeOverLifetime, RotationOverLifetime, PositionOverLifetime, ColorOverLifetime, - RendererOptions, ItemType, + RendererOptions, ItemType, MaskMode, RenderMode, } from '../type'; import type { BaseItem, EndBehavior } from './base-item'; @@ -124,5 +124,8 @@ export interface SpineComponent extends ComponentData { images: DataPath[], skeletonType: skeletonFileType, }, - + renderer?: { + renderMode: RenderMode, + maskMode: MaskMode, + }, } From 4cc1a5faf071b80aee75b0b9bdf057ceba5a9f20 Mon Sep 17 00:00:00 2001 From: yiiqii Date: Wed, 30 Oct 2024 10:46:41 +0800 Subject: [PATCH 2/2] chore: udpate version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7faa4de..bbd234d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@galacean/effects-specification", - "version": "2.0.1", + "version": "2.0.2", "description": "Galacean Effects JSON Specification", "module": "./es/index.js", "main": "./es/index.js",