Syntax

threejsGroup(
  tx: $tx,
  userData: $userData,
  hidden: $hidden,
  color: $color,
  components: $components
)

Description

Creates a scene node that combines other nodes. If, for example, this node is moved, all inner nodes are also moved.

Parameters

Node name Type Type Description Mandatory Default
tx Transformation Transformation that is applied to the node. The transformation is relative to the surrounding node group. no
userData Object Specialist object for the node. This object is used for cross-highlighting, for example no
hidden boolean Whether the node should be displayed. no false
color Color Color in which the node should be colored. no
components List of scene nodes Nodes that this group contains no

Return value

Type: Scene node

A node that summarizes the given components.