Version: 2023.2
言語: 日本語
Experimental: this API is experimental and might be changed or removed in the future.

MiniMap

class in UnityEditor.Experimental.GraphView

/

継承:Experimental.GraphView.GraphElement

マニュアルに切り替える

説明

MiniMap.

Shows all nodes in the graph in a small window.

変数

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.
zoomFactorTextChangedCallback for when the zoom factor text has changed.

コンストラクタ

MiniMapMiniMap's constructor.

Public 関数

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.

継承メンバー

変数

capabilitiesThe GraphElement's capabilities.
elementTypeColorThe color used for the MiniMap view.
layerThe GraphElement's layer in the graph.
selectedTrue if the GraphElement is currently selected.
showInMiniMapWhether the element is shown in the minimap.
titleThe GraphElement's title.

Public 関数

GetGlobalCenterGet the GraphElement's center point.
GetPositionGet the GraphElement position.
HitTestSee if point is over the GraphElement.
IsAscendableChecks if the GraphElement is automatically brought to front when selected.
IsCopiableChecks whether the GraphElement is copiable.
IsDroppableThe GraphElement is drag&droppable.
IsGroupableChecks whether the GraphElement is groupable.
IsMovableThe GraphElement is movable.
IsRenamableThe GraphElement is renamable.
IsResizableThe GraphElement is resizable.
IsSelectableThe GraphElement is selectable.
IsSelectedThe GraphElement is currently selected in specific container.
IsSnappableChecks whether the GraphElement is snappable.
IsStackableChecks whether the GraphElement is stackable.
OnSelectedCalled when the GraphElement is selected.
OnUnselectedCalled when the GraphElement is unselected.
ResetLayerReset the GraphElement to its original layer.
SelectSelect the GraphElement.
SetPositionSet the GraphElement position.
UnselectDeselect the GraphElement.

Protected 関数

OnCustomStyleResolvedCalled when the custom style properties are resolved.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961