Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MiniMap

MiniMap.
Read time 10 minutesLast updated 10 days ago

Definition

public class MiniMap : GraphElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, ISelectable

Remarks

Shows all nodes in the graph in a small window.

Fields

Value

Description

zoomFactorTextChangedCallback for when the zoom factor text has changed.

Constructors

Constructor

Description

MiniMap()MiniMap's constructor.

Properties

Property

Description

anchoredTrue if the MiniMap is pinned or achored (non-movable). False if you can drag and move it around.
graphViewThe GraphView that the MiniMap is attached to.
maxHeightMax height.
maxWidthMax width.
windowedSet to true when the MiniMap displays in a separate window. Set to false when the MiniMap displays in the GraphView.

Methods

Method

Description

BuildContextualMenuAdd menu items to the MiniMap contextual menu.
OnResizedCall this method after a user has resized a MiniMap to let the MiniMap know it needs to get updated.

Inheritance

Inherited Members