fitToView
fitToView
Signature
fitToView(name?: string, duration?: number): Promise<void>Parameters
Name
Type
Required
Description
Returns
Usage
// Fit entire scene
await api.fitToView();
// Focus on specific object
await api.fitToView("Chair");
// Focus with animation
await api.fitToView("Chair", 500);Notes
Last updated