Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

Marker2D

繼承: Node2D < CanvasItem < Node < Object

通用 2D 位置提示,用於編輯。

說明

用於編輯的通用 2D 位置提示。類似於普通的 Node2D,但它始終在 2D 編輯器中顯示十字。該節點處於選中狀態時,可以使用 2D 編輯器中的小工具來設定十字的視覺大小。

屬性

float

gizmo_extents

10.0


屬性說明

float gizmo_extents = 10.0 🔗

  • void set_gizmo_extents(value: float)

  • float get_gizmo_extents()

出現在編輯器中的小工具十字的大小。