Build an Advanced Surface Tracking Experience
Advanced UX Control and Customization for Experienced Developers
Introduction
Prerequisites
Understanding Custom Handlers
on-progress Attribute
on-progress Attribute// Your custom progress handler receives this data:
function customProgressHandler(progress) {
// progress.percentage - Loading completion (0-100)
// progress.current - Current loaded objects
// progress.total - Total objects to load
}on-error Attribute
on-error Attributeminimal-ui Attribute
minimal-ui AttributeProcess
Step 1: Project Structure Setup
Step 2: Create Custom Handler Functions
Step 3: Enhanced HTML with Advanced Configuration
Critical Configuration Explained:
Step 4: Enhanced Loading Screen / Custom Splash Screen
Critical Timing: Load Splash Screen Before SDK loads
Step 5: Camera and Sensor Management
Step 6: Complete WebAR Scene
Advanced Features Explained
Real-time Progress Monitoring
External Camera Stream
Comprehensive Error Handling
Deployment Considerations
Full Source Code
Common Issues and Solutions
Key Benefits of This Advanced Implementation
Last updated