In this Spline tutorial I will show you how to use the Spline API to toggle between 3D models in real time.
Note: Timestamps 11:35 & 17:37 Use the variable name not the 3D Model layer name.
Timestamps:
- 0:00 Spline Tutorial Introduction
- 0:44 Setup Spline Scene
- 4:00 Create Spline Variables
- 8:23 Export Spline Scene
- 8:47 Spline Code Explained
- 10:42 Example 1: Toggle Photos
- 12:38 Example 2: Toggle 3D Chairs
- 14:00 Example 3: Change Carpet Sides
- 15:06 Add Buttons
- 15:49 Fix Jumping Button Links
JavaScript Code