资源简介
节点编辑器框架 xNode-master,可扩展成行为可视化编辑,Shader可视化编辑
代码片段和文件信息
using System;
using System.Collections.Generic;
using UnityEngine;
namespace XNode {
///
/// base class for all nodes
///
///
/// Classes extending this class will be considered as valid nodes by xNode.
///
/// [System.Serializable]
/// public class Adder : Node {
/// [Input] public float a;
/// [Input] public float b;
/// [Output] public float result;
///
/// // GetValue should be overridden to return a value for any specified output port
/// public override object GetValue(NodePort port) {
/// return a + b;
/// }
/// }
///
///
[Serializable]
public abstract class Node : scriptableobject {
/// Used by and to determine when to display the field value associated with a
public enum ShowBackingValue {
/// Never show the backing value
Never
/// Show the backing value only when the port does not have any active connections
Unconnected
/// Always show the backing value
Always
}
public enum ConnectionType {
/// Allow multiple connections
Multiple
/// always override the current connection
Override
}
/// Tells which types of input to allow
public enum TypeConstraint {
/// Allow all types of input
None
/// Allow connections where input value type is assignable from output value type (eg. scriptableobject --> object)
Inherited
/// Allow only similar types
Strict
/// Allow connections where output value type is assignable from input value type (eg. object --> scriptableobject)
InheritedInverse
}
#region Obsolete
[Obsolete(“Use DynamicPorts instead“)]
public IEnumerable InstancePorts { get { return DynamicPorts; } }
[Obsolete(“Use DynamicOutputs instead“)]
public IEnumerable InstanceOutputs { get { return DynamicOutputs; } }
[Obsolete(“Use DynamicInputs instead“)]
public IEnumerable InstanceInputs { get { return DynamicInputs; } }
[Obsolete(“Use AddDynamicInput instead“)]
public NodePort AddInstanceInput(Type type Node.ConnectionType connectionType = Node.ConnectionType.Multiple Node.TypeConstraint typeConstraint = TypeConstraint.None string fieldName = null) {
return AddDynamicInput(type connectionType typeConstraint fi
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-08-13 11:08 xNode-master\
文件 137 2020-08-13 11:08 xNode-master\.editorconfig
目录 0 2020-08-13 11:08 xNode-master\.github\
文件 657 2020-08-13 11:08 xNode-master\.github\FUNDING.yml
文件 349 2020-08-13 11:08 xNode-master\.gitignore
文件 1718 2020-08-13 11:08 xNode-master\CONTRIBUTING.md
文件 158 2020-08-13 11:08 xNode-master\CONTRIBUTING.md.me
文件 1070 2020-08-13 11:08 xNode-master\LICENSE.md
文件 158 2020-08-13 11:08 xNode-master\LICENSE.md.me
文件 4896 2020-08-13 11:08 xNode-master\README.md
文件 158 2020-08-13 11:08 xNode-master\README.md.me
文件 192 2020-08-13 11:08 xNode-master\sc
目录 0 2020-08-13 11:08 xNode-master\sc
文件 214 2020-08-13 11:08 xNode-master\sc
目录 0 2020-08-13 11:08 xNode-master\sc
文件 312 2020-08-13 11:08 xNode-master\sc
文件 285 2020-08-13 11:08 xNode-master\sc
文件 192 2020-08-13 11:08 xNode-master\sc
目录 0 2020-08-13 11:08 xNode-master\sc
文件 214 2020-08-13 11:08 xNode-master\sc
目录 0 2020-08-13 11:08 xNode-master\sc
文件 2517 2020-08-13 11:08 xNode-master\sc
文件 285 2020-08-13 11:08 xNode-master\sc
文件 172 2020-08-13 11:08 xNode-master\sc
目录 0 2020-08-13 11:08 xNode-master\sc
文件 1101 2020-08-13 11:08 xNode-master\sc
文件 243 2020-08-13 11:08 xNode-master\sc
文件 1642 2020-08-13 11:08 xNode-master\sc
文件 243 2020-08-13 11:08 xNode-master\sc
文件 1645 2020-08-13 11:08 xNode-master\sc
文件 243 2020-08-13 11:08 xNode-master\sc
............此处省略72个文件信息
- 上一篇:unity 2d-extras-master插件
- 下一篇:WPF贪吃蛇
相关资源
- unity 2d-extras-master插件
- CAN消息编辑器
- C# 钢琴 (PianoDemo)
- 物联网设备通讯协议实现客户端(I
- HMI-with-WPF-part-3-Communication-with-multipl
- 代码编辑器 FastColoredTextBox 智能提示补
- C#十六进制编辑器
- 原创WPF卫生相关文档编辑器
- 炸弹人游戏(带地图编辑器浏览器.
- winform做的流程图编辑器-GDI+绘图技术
- Winform C# C/S 程序 html 富文本编辑器
- unity编辑器源代码.zip
- 百度ueditor编辑器 word导入功能asp.ne
- ScintillaNET文本编辑器源码
- C#做的简易图像编辑器
- C#实现的比较牛逼的语法高亮着色编辑
- KeyBoardMaster 源码
- asp.net mvc 百度UEdit富文本编辑器的使
- C#与nodejs socketio 互传
- WpfVLC-master.rar
- DCWriter电子病历编辑器
-
基于winform的xm
l菜单编辑器c#源码) - C#中GDI+实现简单二维矢量图编辑器教
- WPF HtmlEdit html编辑器
- C# 自定义属性编辑器UITypeEditor
- C#文本编辑器代码及项目
- 基于winform的SVG编辑器
- C#编写的SVG文件编辑器,包含代码和执
- C#_winform_html编辑器_富文本编辑器③
- C#-升级版文本编辑器
评论
共有 条评论