rotationPerSecond property

String? rotationPerSecond
final

Sets the speed of auto-rotate, when enabled. Accepts values with units in degrees or radians (e.g., "30deg" or "0.5rad"), as well as percent (e.g. "-100%") of the default value of pi/32 radians.

Defaults to "pi/32 radians".

<model-viewer> official document: https://modelviewer.dev/docs/#entrydocs-stagingandcameras-attributes-rotationPerSecond

Implementation

final String? rotationPerSecond;