Godot 类
一些常见的类
不想打工
这个作者很懒,什么都没留下…
展开
-
ItemList类
ItemListInherits:Control<CanvasItem<Node<ObjectControl that provides a list of selectable items (and/or icons) in a single column, or optionally in multiple columns.控件提供一个单列或多列的可选择项目(和/或图标)列表。DescriptionThis control provides a sel...翻译 2020-09-23 23:42:38 · 1324 阅读 · 0 评论 -
KinematicBody2D类
KinematicBody2D继承: PhysicsBody2D < CollisionObject2D < Node2D < CanvasItem < Node < Object运动体2D节点描述Kinematic bodies are special types of bodies that are meant to be user-controlled. They are not affected by physics at all; to other types翻译 2020-09-11 20:06:24 · 250 阅读 · 0 评论 -
CollisionObject2D类
CollisionObject2D继承: Node2D < CanvasItem < Node < Object继承者: Area2D, PhysicsBody2D2D碰撞对象的基本节点。#描述CollisionObject2D是2D物理对象的基类。 它可以容纳任意数量的2D碰撞形状。 每个形状必须分配给形状所有者。 CollisionObject2D可以具有任意数量的形状所有者。 形状所有者不是节点,也不显示在编辑器中,但是可以使用shape_owner_ *方法通过代码进行访翻译 2020-09-10 23:50:53 · 243 阅读 · 0 评论 -
MainLoop 类
MainLoopInherits: ObjectInherited By: SceneTreeAbstract base class for the game’s main loop.游戏主循环的抽象基类。DescriptionMainLoop is the abstract base class for a Godot project’s game loop. It is inherited by SceneTree, which is the default game loop implem翻译 2020-12-22 08:50:26 · 587 阅读 · 0 评论 -
Physics2DShapeQueryParameters类
Physics2DShapeQueryParametersInherits:Reference<ObjectParameters to be sent to a 2D shape physics query.参数将被发送到一个二维形状物理查询DescriptionThis class contains the shape and other parameters for 2D intersection/collision queries. See alsoPhysics2D...翻译 2020-08-29 21:51:13 · 133 阅读 · 0 评论 -
AnimationNodeStateMachinePlayback 类
AnimationNodeStateMachinePlaybackInherits:Resource<Reference<ObjectPlayback control forAnimationNodeStateMachine.AnimationNodeStateMachine的回放控制。DescriptionAllows control ofAnimationTreestate machines created withAnimationNodeStateM...翻译 2020-08-30 11:52:55 · 160 阅读 · 0 评论 -
Range 类
Range继承了:Control<CanvasItem<Node<Object继承者:EditorSpinSlider,ProgressBar,ScrollBar,Slider,SpinBox,TextureProgressAbstract base class for range-based controls.基于范围的控件的抽象基类。描述Range is a base class forControlnodes that chang...翻译 2020-09-04 12:19:16 · 268 阅读 · 0 评论 -
ProgressBar 类
ProgressBar继承了:Range<Control<CanvasItem<Node<ObjectGeneral-purpose progress bar.通用的进度条。描述General-purpose progress bar. Shows fill percentage from right to left.通用的进度条。从右到左显示填充百分比。属性bool percent_visible true int...翻译 2020-09-04 12:19:41 · 193 阅读 · 0 评论 -
TextureProgress类
TextureProgressInherits:Range<Control<CanvasItem<Node<ObjectTexture-based progress bar. Useful for loading screens and life or stamina bars.基于纹理的进度条。 对于加载屏幕和生命或耐力条很有用。DescriptionTextureProgress works likeProgressBar, but use...翻译 2020-09-04 12:24:07 · 187 阅读 · 0 评论 -
Godot CanvasItem
Godot CanvasItem继承了: Node < Object继承者: Control, Node2DBase class of anything 2D.任何2D的基类。描述Base class of anything 2D. Canvas items are laid out in a tree; children inherit and extend their parent’s transform. CanvasItem is extended by Control for a翻译 2020-09-06 10:44:02 · 286 阅读 · 0 评论 -
RigidBody2D类
RigidBody2DInherits: PhysicsBody2D < CollisionObject2D < Node2D < CanvasItem < Node < Object由2D物理引擎控制的物体。描述该节点实现了模拟2D物理。 您不能直接控制RigidBody2D。 取而代之的是对它施加力(重力,脉冲等),然后物理模拟根据其质量,摩擦和其他物理属性来计算最终的运动。RigidBody2D具有4种行为模式:刚性,静态,角色和运动。注意:您不应该每隔一帧甚翻译 2020-09-09 23:48:17 · 587 阅读 · 0 评论