Version: 2021.2
언어: 한국어
Experimental: this API is experimental and might be changed or removed in the future.

Blackboard

class in UnityEditor.Experimental.GraphView

/

다음으로부터 상속:Experimental.GraphView.GraphElement


인터페이스 구현:IEventHandler, IExperimentalFeatures, IResolvedStyle, ISelectable, ISelection, ITransform, ITransitionAnimations, IVisualElementScheduler

매뉴얼로 전환

설명

GraphElement that enables user to dynamically define members of a Graph (such as fields/properties) grouped by sections (BlackboardSection).

변수

addItemRequestedCalled when user clicks on the Add button of this Blackboard.
contentContainerThe content container of this Blackboard.
editTextRequestedCalled when user has edited the text of this BlackboardField.
graphViewThe GraphView that the Blackboard is attached to.
moveItemRequestedCalled when user has dragged and dropped a BlackboardField to a new location inside its BlackboardSection.
scrollableIndicates whether the content of this Blackboard can be vertically scrolled by user. It is false by default.
selectionAll selected elements in the GraphView that the Blackboard is attached to.
subTitleThe subtitle of this Blackboard.
titleThe title of this Blackboard.
windowedSet to true when the Blackboard displays in a separate window. Set to false when the Blackboard displays in the GraphView.

생성자

BlackboardConstructs a Blackboard.

Public 함수

AddToSelectionAdds an element to the selection in the GraphView that the Blackboard is attached to.
ClearSelectionClears the selection in the GraphView that the Blackboard is attached to.
RemoveFromSelectionRemoves an element from the selection in the GraphView that the Blackboard is attached to.

상속된 멤버

변수

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.

보호되는 함수

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