instantreality 1.0

Scene

The Scene object extends the ExecutionContext object.

Properties

TypePropertyDescriptionStandard

Functions

Return typeFunctionDescriptionStandard
voidsetMetaData(String key, String value)

The metadata value specified by the metadata key is set or changed to the new metadata value. If the metadata value is null, it shall be treated as deleting any currently set item of metadata for that metadata key.

X3D3.0
StringgetMetaData(String key)

Returns the metadata string identified by the given key. If no metadata value is set, the return value is null.

X3D3.0
SFNodegetExportedNode(String name)

Returns the exported node identified by the given name. If there is no exported node with the given name in the scene, null is returned.

X3D3.0
voidupdateExportedNode(String name, SFNode node)

Updates the node identified by the given node name to the new node.

X3D3.0
voidremoveExportedNode(String name)

Removes the exported node identified by the given name from the scene.

X3D3.0