Staticcreate2dA unique identifier for the overlay item.
A descriptive label for the overlay item.
A boolean indicating whether the overlay item is visible.
The index position of the overlay item.
A new instance of OverlayItem initialized with the provided properties.
Updates the current value of the instance and synchronizes it with an external overlay system.
The new value to set for this instance.
Sets the visibility state of the current object
A boolean indicating the desired visibility state.
true to make the object visible, false to hide it.
Creates a new 2D overlay item with the specified properties.