Spline
Allows a Spline 3D scene to be integrated into a Flux site.
Last updated
Was this helpful?
Allows a Spline 3D scene to be integrated into a Flux site.
Last updated
Was this helpful?
The Spline module allows Flux sites to natively embed and interact with Spline scenes.
The URL of the SplineCode for the Scene.
See Finding the SplineCode for more details on where to find this.
Fires when the Spline scene triggers an event.
Spline Event Type
SplineEvent
Object
String
The name of the Spline Object where the event occurred.
When triggered, changes the currently loaded Spline scene.
URL
String
The SplineCode for the new Spline scene to load.
When triggered, sets a Spline variables to the specified Value.
Spline Variable Name
String
The name of the Spline Variable to set
Value
String | Number | Boolean
The value to set the Spline Variable to.
When triggered, triggers a Spline Event in the target Spline Scene.
Event Type
SplineEvent
Object
String
The name of the Spline Object to trigger the Event on.
Open a Spline Scene
Click "Export" in the top toolbar.
Select "Viewer"
Copy the scene link at the top. It should look like:
When making changes to your Spline Scene, you must update the export before changes will appear in the Flux module.
Update your Spline Scene (e.g. change the color of an object)
Click "Export" in the top toolbar.
Select "Viewer"
Click "Update Viewer" and wait until the loading spinner disappears
The type of SplineEvent that was triggered. A list of event types
The type of Spline Event to trigger in the target Scene. A list of accepted values can be found