Skip to content

Player nodes

Expression

Gets the ambient light properties (enabled, intensity, color) for the scene.

Outputs

Name Type Description Default
Enabled boolean (optional)
Intensity number (optional)
Color Color (optional)

Expression

Gets the current background mode and color for the 3D viewer.

Also searchable as: “Get Background Mode”.

Outputs

Name Type Description Default
Mode BackgroundMode (optional)
Color Color (optional)

Expression

Gets the directional light properties (rotation, intensity, color, shadows) for the scene.

Outputs

Name Type Description Default
Enabled boolean (optional)
Pitch number (optional)
Yaw number (optional)
Intensity number (optional)
Color Color (optional)
Shadows boolean (optional)

Expression

Gets the current camera interaction mode (Pivot, First Person, or Fixed Camera).

Outputs

Name Type Description Default
Mode InteractionMode (optional)

Expression

Gets camera effects properties.

Outputs

Name Type Description Default
Exposure number (optional)
FOV number (optional)
Bloom boolean (optional)

Expression

Gets first-person camera properties.

Outputs

Name Type Description Default
Location Vector3 (optional)
Rotation Rotation (optional)
Movement Speed number (optional)

Expression

Gets pivot camera properties

Outputs

Name Type Description Default
Location Vector3 (optional)
Rotation Rotation (optional)
Pitch Range Vector2 (optional)
Yaw Range Vector2 (optional)
Zoom Range Vector2 (optional)
Yaw Auto Speed number (optional)

Expression

Gets the current elapsed time in seconds since the scene started.

Also searchable as: “Current Time”, “Scene Time”.

Outputs

Name Type Description Default
Result number

Expression

Gets the visibility and color of the UI elements.

Outputs

Name Type Description Default
Color Color (optional)
Show Fullscreen boolean (optional)
Show Zoom boolean (optional)
Show Share boolean (optional)
Show Live Editing boolean (optional)
Show Description boolean (optional)

Statement

Opens a specified URL in a new browser tab. Invoke this action in response to a user interaction (e.g., a button click) to avoid popup blockers.

Also searchable as: “Open URL”, “Go To URL”.

Inputs

Name Type Description Default
URL string Must start with ‘http://’ or ‘https://’

Statement

Sets the ambient light properties (enabled, intensity, color) for the scene.

Also searchable as: “Configure Ambient Light”.

Inputs

Name Type Description Default
Enabled boolean true
Intensity number (optional) 800
Color Color (optional) [1, 1, 1, 1]

Statement

Sets the background mode and color for the 3D viewer.

Also searchable as: “Configure Background”.

Inputs

Name Type Description Default
Mode BackgroundMode
Color Color (optional) [1, 1, 1, 1]

Statement

Sets the directional light properties (rotation, intensity, color, shadows) for the scene.

Also searchable as: “Configure Sun Light”.

Inputs

Name Type Description Default
Enabled boolean true
Pitch number Sets the vertical angle (in degrees). (optional) 45
Yaw number Sets the horizontal angle (in degrees). (optional) 45
Intensity number (optional) 800
Color Color (optional) [1, 1, 1, 1]
Shadows boolean (optional) true

Statement

Sets the camera interaction mode (Pivot, First Person, or Fixed Camera).

Also searchable as: “Configure Camera Mode”.

Inputs

Name Type Description Default
Mode InteractionMode
Fixed Camera InteractionModeFixedCamera (depends on "Mode")
Pivot: Zoom On Wheel InteractionModePivotZoomOnWheel (depends on "Mode") Enables or disables zooming with the mouse wheel when in Pivot mode.

Statement

Sets camera effects properties.

Also searchable as: “Configure Camera Effects”.

Inputs

Name Type Description Default
Exposure number Sets the camera exposure. (optional) 0.001
FOV number Sets the camera field of view (in degrees). (optional) 50
Bloom boolean Enables or disables the bloom effect. (optional) true

Statement

Sets first-person camera properties.

Also searchable as: “Configure First Person Camera”.

Inputs

Name Type Description Default
Location Vector3 Sets the position of the first-person camera. (optional) [0, 0, 0]
Rotation Rotation Sets the rotation of the first-person camera. (optional) [0, 0, 0]
Movement Speed number Sets the movement speed of the first-person camera. (optional) 1

Statement

Sets pivot camera properties

Also searchable as: “Configure Pivot Camera”.

Inputs

Name Type Description Default
Location Vector3 Sets the location of the pivot camera. (optional) [0, 0, 0]
Rotation Rotation Sets the rotation of the pivot camera. (optional) [0, 0, 0]
Pitch Range Vector2 Sets the minimum and maximum vertical angles (in degrees) for the pivot camera. (optional) [-90, 90]
Yaw Range Vector2 Sets the minimum and maximum horizontal angles (in degrees) for the pivot camera. (optional) [-180, 180]
Zoom Range Vector2 Sets the minimum and maximum zoom distances for the pivot camera. (optional) [1, 5]
Yaw Auto Speed number Sets the automatic horizontal rotation speed for the pivot camera. (optional) 0

Statement

Updates the visibility of the UI elements.

Also searchable as: “Configure UI Elements”.

Inputs

Name Type Description Default
Color Color Sets the color of the UI elements. (optional) [1,1,1,1]
Show Fullscreen boolean (optional) false
Show Zoom boolean (optional) true
Show Share boolean (optional) false
Show Live Editing boolean (optional) false
Show Description boolean (optional) true