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

Inherits: Node2D < CanvasItem < Node < Object

Generic 2D position hint for editing.

描述

Generic 2D position hint for editing. It's just like a plain Node2D, but it displays as a cross in the 2D editor at all times. You can set the cross' visual size by using the gizmo in the 2D editor while the node is selected.

属性

float

gizmo_extents

10.0


Property Descriptions

float gizmo_extents = 10.0

  • void set_gizmo_extents ( float value )

  • float get_gizmo_extents ( )

Size of the gizmo cross that appears in the editor.