ドキュメント

Unity Engine

Unity Engine

CloneTree

Build a tree of VisualElements from the asset.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

CloneTree()

Build a tree of VisualElements from the asset.
public TemplateContainer CloneTree()

Returns

Type

Description

TemplateContainerThe root of the tree of VisualElements that was just cloned.

CloneTree(string)

Build a tree of VisualElements from the asset.
public TemplateContainer CloneTree(string bindingPath)

Parameters

bindingPath

The path to the property that you want to bind to the root of the cloned tree.

Returns

Type

Description

TemplateContainerThe root of the tree of VisualElements that was just cloned.

CloneTree(VisualElement)

Builds a tree of VisualElements from the asset.
public void CloneTree(VisualElement target)

Parameters

A VisualElement that will act as the root of the cloned tree.

CloneTree(VisualElement, int, int)

Build a tree of VisualElements from the asset.
public void CloneTree(VisualElement target, out int firstElementIndex, out int elementAddedCount)

Parameters


firstElementIndex


elementAddedCount