
############
ViewTreeNode
############

.. js:class:: wvc.ViewTreeNode

   A custom element representing a node in the view tree.
   
   This component displays a view tree node with its properties and interactive controls. It does not have any dependency on the @ts3d-hoops/web-viewer Model class.
   
   .. rubric:: Examples
   
   
   .. code-block:: html
   
      <hoops-view-tree-node nodeId="1" nodeName="View 1"></hoops-view-tree-node>
   
   .. rubric:: Custom Element
   
   
   ``hoops-view-tree-node``
   
   .. rubric:: Attributes
   
   
   **nodeId**
   
   
      The id of the node in the model
   
   
   **nodeName**
   
   
      The name of the node
   
   
   .. rubric:: Since
   
   
   ``2025.8.0``
   
   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~wvc.ViewTreeNode.constructor`
   
   .. rubric:: Properties
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~wvc.ViewTreeNode.nodeId`
   * :js:data:`~wvc.ViewTreeNode.nodeName`
   
   



.. rst-class:: kind-group kind-constructors

.. rubric:: Constructors
   :class: kind-group-title


.. js:method:: wvc.ViewTreeNode.constructor

      .. rst-class:: sig-pretty-signature
      
         | ViewTreeNode(): :js:class:`ViewTreeNode <wvc.ViewTreeNode>`
      
      **Returns**\ : :js:class:`ViewTreeNode <wvc.ViewTreeNode>`
      



.. rst-class:: kind-group kind-properties

.. rubric:: Properties
   :class: kind-group-title


.. js:data:: wvc.ViewTreeNode.nodeId

      .. rst-class:: sig-pretty-signature
      
         | nodeId: *number*
      
      The id of the node to render.
      



.. js:data:: wvc.ViewTreeNode.nodeName

      .. rst-class:: sig-pretty-signature
      
         | nodeName: *string*
      
      The name of the node to render.
      




