Skip to main content
Apple Platform Code API for SwiftUI

Code API for SwiftUI

🔜 Code API for SwiftUI is coming soon. Please check back later for more information about it’s capabilities. Meanwhile learn about Code API for Web:

The Code API allows you to seamlessly integrate interactive 3D experiences into your projects, offering greater control and customization. It enables you to trigger actions, modify object properties, and create dynamic, responsive 3D environments directly from your existing code and user interface.

Important: The Code API allows your native interface to control properties in the Spline scene, and vice versa. However, it’s important to note that this is different from the Real-time APIs feature. For information about APIs used for server communication and integrating your scenes with other apps, please refer to the specific API documentation:

Key capabilitites:

This is a high-level overview of the key capabilities with CodeAPI, for more specific capabilities go to relevant library documentation below.

  • Adjust variables: Retrive and update variables in a Spline scene.

  • Adjust Properties: Dynamically update position, scale, rotation, and more.

  • Trigger Transitions: Create transitions and animations based on events.

  • Event Listeners: React to real-time events within your 3D scenes.