FollowPuckViewportStateOptions

Configuration options for FollowPuckViewportState.

Each of the CameraOptions-related properties is optional, so that the state can be configured to only modify certain aspects of the camera if desired. This can be used, to achieve effects like allowing zoom gestures to work simultaneously with FollowPuckViewportState.

  • The value to use for padding when setting the camera. If nil, padding will not be modified.

  • The value to use for zoom when setting the camera. If nil, zoom will not be modified.

  • Indicates how to obtain the value to use for bearing when setting the camera. If nil, bearing will not be modified.

  • The value to use for pitch when setting the camera. If nil, pitch will not be modified.

  • Memberwise initializer for FollowPuckViewportStateOptions.

    All parameters have default values.

  • Combines all fields into hasher