Container

Container

Represents a group of other scene nodes. Can be either grouped or ungrouped. If ungrouped, it is non-interactive but
its children are.

Extends

Members

children :Array.<SceneNode>

Container's children

Type:

grouped :bool

Is this container grouped or ungrouped.

Type:
  • bool

id :string

Inherited From:

System-wide unique identifier

Type:
  • string

interaction :Interaction

Inherited From:

Node's interaction settings.

Type:

meta :MetaData

Inherited From:

Node's meta data.

Type:

pose :Pose

Inherited From:

Node's pose.

Type:

type :string

Type:
  • string

visible :boolean

Inherited From:

Node's visibility.

Type:
  • boolean

Methods

(async) setInteraction(newInteraction) → {Promise}

Inherited From:

Changes object's interaction settings.

Parameters:
Name Type Description
newInteraction Interaction
Returns:

Promise that resolves when updated.

Type
Promise

setMeta(metaChanges) → {Boolean}

Inherited From:
Parameters:
Name Type Description
metaChanges MetaData
Returns:

assignment result

Type
Boolean

(async) setParent(newParent) → {Promise}

Inherited From:

Moves the node to a new container.

Parameters:
Name Type Description
newParent Container
Returns:

resolved when done.

Type
Promise

(async) setPose(newPose) → {Promise}

Inherited From:

Changes object's pose.

Parameters:
Name Type Description
newPose Pose
Returns:

Promise that resolves when updated.

Type
Promise

(async) setVisible(newVisible) → {Promise}

Inherited From:

Changes object's visibility.

Parameters:
Name Type Description
newVisible boolean
Returns:

Promise that resolves when updated.

Type
Promise