Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
5.2 KiB
5.2 KiB
@esengine/blueprint
4.4.0
Minor Changes
-
#438
0d33cf0Thanks @esengine! - feat(node-editor): add visual group box for organizing nodes- Add NodeGroup model with dynamic bounds calculation based on node pin counts
- Add GroupNodeComponent for rendering group boxes behind nodes
- Groups automatically resize to wrap contained nodes
- Dragging group header moves all nodes inside together
- Support group serialization/deserialization
- Export
estimateNodeHeightandNodeBoundsfor accurate size calculation
feat(blueprint): add comprehensive math and logic nodes
Math nodes:
- Modulo, Abs, Min, Max, Power, Sqrt
- Floor, Ceil, Round, Sign, Negate
- Sin, Cos, Tan, Asin, Acos, Atan, Atan2
- DegToRad, RadToDeg, Lerp, InverseLerp
- Clamp, Wrap, RandomRange, RandomInt
Logic nodes:
- Equal, NotEqual, GreaterThan, GreaterThanOrEqual
- LessThan, LessThanOrEqual, InRange
- AND, OR, NOT, XOR, NAND
- IsNull, Select (ternary)
4.3.0
Minor Changes
-
#435
c2acd14Thanks @esengine! - feat(blueprint): 添加 Add Component 节点支持 + 变量节点 + ECS 模式重构新功能:
- 为每个 @BlueprintExpose 组件自动生成 Add_ComponentName 节点
- Add 节点支持设置初始属性值
- 添加通用 ECS_AddComponent 节点用于动态添加组件
- @BlueprintExpose 装饰的组件自动注册,无需手动调用 registerComponentClass()
- 添加变量节点:GetVariable, SetVariable, GetBoolVariable, GetFloatVariable, GetIntVariable, GetStringVariable
重构:
- BlueprintComponent 使用 @ECSComponent 装饰器注册
- BlueprintSystem 继承标准 System 基类
- 简化组件 API,优化 VM 生命周期管理
- ExecutionContext.getComponentClass() 自动查找 @BlueprintExpose 注册的组件
4.2.0
Minor Changes
-
#433
2e84942Thanks @esengine! - feat(blueprint): 添加 Add Component 节点支持 + ECS 模式重构新功能:
- 为每个 @BlueprintExpose 组件自动生成 Add_ComponentName 节点
- Add 节点支持设置初始属性值
- 添加通用 ECS_AddComponent 节点用于动态添加组件
- 添加 registerComponentClass() 用于手动注册组件类
重构:
- BlueprintComponent 使用 @ECSComponent 装饰器注册
- BlueprintSystem 继承标准 System 基类
- 简化组件 API,优化 VM 生命周期管理
4.1.0
Minor Changes
-
#430
caf3be7Thanks @esengine! - feat(blueprint): 重构装饰器系统,移除 Reflect 依赖 | Refactor decorator system, remove Reflect dependency@esengine/blueprint
- 移除
Reflect.getMetadata依赖,装饰器现在要求显式指定类型 | RemovedReflect.getMetadatadependency, decorators now require explicit type specification - 简化
BlueprintProperty和BlueprintMethod装饰器的元数据结构 | Simplified metadata structure forBlueprintPropertyandBlueprintMethoddecorators - 新增
inferPinType工具函数用于类型推断 | AddedinferPinTypeutility function for type inference - 优化组件节点生成器以适配新的元数据结构 | Optimized component node generator for new metadata structure
- 移除
4.0.1
Patch Changes
- Updated dependencies [
3e5b778]:- @esengine/ecs-framework@2.7.1
4.0.0
Patch Changes
- Updated dependencies [
1f3a76a]:- @esengine/ecs-framework@2.7.0
3.0.1
Patch Changes
- Updated dependencies [
04b08f3]:- @esengine/ecs-framework@2.6.1
3.0.0
Patch Changes
- Updated dependencies []:
- @esengine/ecs-framework@2.6.0
2.0.1
Patch Changes
- Updated dependencies [
a08a84b]:- @esengine/ecs-framework@2.5.1
2.0.0
Patch Changes
- Updated dependencies [
1f297ac]:- @esengine/ecs-framework@2.5.0
1.0.2
Patch Changes
- Updated dependencies [
7d74623]:- @esengine/ecs-framework@2.4.4
1.0.1
Patch Changes
- Updated dependencies [
ce2db4e]:- @esengine/ecs-framework@2.4.3