API reference
API reference
Select your platform
No SDKs available
No versions available

INodeUI Interface

Interface indicating the inheriting type can be represented as a node in a tree-like UI structure for debugging and other development purposes.
This type is explicitly intended for use alongside DebugTreeUI<TLeaf>; for a canonical usage example, see PoseDetection.Debug.ActiveStateDebugTreeUI.

Properties

ChildArea : RectTransform
[Get]
The region in which children of this node within the UI tree should be displayed.
Signature
RectTransform Oculus.Interaction.DebugTree.INodeUI< TLeaf >.ChildArea

Methods

Bind ( node , isRoot , isDuplicate )
This method should only be called by the DebugTreeUI<TLeaf> which contains this node.
Associates the provided node with this UI representation for it.
Signature
void Oculus.Interaction.DebugTree.INodeUI< TLeaf >.Bind(ITreeNode< TLeaf > node, bool isRoot, bool isDuplicate)
Parameters
node: ITreeNode< TLeaf >  The node which this INodeUI<TLeaf> should be bound to represent
isRoot: bool  Indicates whether or not node is the root node of the tree
isDuplicate: bool  Indicates whether node has already been bound to a different INodeUI<TLeaf>
Returns
void