spotlight property
Spotlight mode for dynamic lighting effect.
- CNSpotlightMode.none: No spotlight effect
- CNSpotlightMode.touch: Spotlight follows touch/pointer position
- CNSpotlightMode.gyroscope: Spotlight responds to device tilt (iOS only)
- CNSpotlightMode.both: Combines touch and gyroscope inputs
Implementation
final CNSpotlightMode spotlight;