Marker2D

继承: Node2D < CanvasItem < Node < Object

通用 2D 位置提示,用于编辑。

描述

用于编辑的通用 2D 位置提示。类似于普通的 Node2D,但它始终在 2D 编辑器中显示十字。该节点处于选中状态时,可以使用 2D 编辑器中的小工具来设置十字的视觉大小。

属性

float

gizmo_extents

10.0


属性说明

float gizmo_extents = 10.0

  • void set_gizmo_extents ( float value )

  • float get_gizmo_extents ( )

出现在编辑器中的小工具十字的大小。

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.