godot游戏引擎自学入门笔记--可视化脚本续,官方文档翻译(十一)

本文介绍了Godot游戏引擎中可视化脚本的基础知识,包括节点术语、节点属性、端口与连接的概念。节点分为顺序端口和数据端口,分别表示执行顺序和数据流动。此外,还讲解了如何添加和处理节点,以及数据节点、流控制节点和运算符节点的使用。
摘要由CSDN通过智能技术生成
节点与术语

Before continuing, it must be noted that the Node terminology needs to be used with care. When referring to Visual Script Nodes (or generally Nodes) this text will refer to the little boxes you connect with lines, which are part of a graph. When referring to Scene Nodes, it is implied that the elements that make up a Scene are being referred, which are part of a tree. Their naming is similar but their function is different. When referring to Node here, it will be implied that a Visual Script Node is referred to unless indicated otherwise.

在继续之前,必须注意 节点术语需要谨慎使用。 当引用可视化脚本节点 (或通常为 节点 )时,此文本是指与线连接的小方框,它是图的一部分。 当引用场景节点时,它暗指构成场景的元素,它是树的一部分。 他们的命名类似,但他们的功能是不同的。 在此处谈到 节点 时,除非另有说明,否则将暗指 可视化脚本节点
在这里插入图片描述

节点属性

Like in most visual scripting implementations, each node has editable properties. In Godot, though, we try to avoid bloating the nodes with editable controls for the sake of readability.
Nodes still display the required information as text, but editing is done via the Inspector. To edit them, select any node and edit its properties in the Inspector.

与大多数可视化脚本实现一样,每个节点都具有可编辑的属性。 但是,在Godot中,为了便于阅读,我们尽量避免使用可编辑的控件来复杂化节点。
节点仍然以文本形式显示所需信息,但编辑是通过 属性面板 完成的。 要编辑它们,请选择任何节点并在 属性面板 中编辑其属性。

端口与连接

Godot的可视化编程,是

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值