UArSceneOptions class
Behaviour of UArScene: placement by tap or reticle, gestures, toolbar, picker, snapshot, recording.
Constructors
- UArSceneOptions({UArPlacementMode placementMode = UArPlacementMode.tap, int maxPlacements = 0, bool replaceWhenFull = true, bool selectOnPlace = true, bool enableDrag = true, bool enableRotate = true, bool enableScale = true, double minScale = 0.2, double maxScale = 5, bool showHints = true, bool showGestureHint = true, bool showItemPicker = true, bool showToolbar = true, bool enableSnapshot = true, bool enableRecording = true, bool enableReset = true, bool enableDelete = true, bool showCloseButton = true, bool haptics = true})
-
const
Properties
- enableDelete → bool
-
Shows a delete button for the selected item.
final
- enableDrag → bool
-
Drag items to move them.
final
- enableRecording → bool
-
Shows a video record button.
final
- enableReset → bool
-
Shows a reset button.
final
- enableRotate → bool
-
Two-finger twist rotates items.
final
- enableScale → bool
-
Pinch scales items.
final
- enableSnapshot → bool
-
Shows a photo button.
final
- haptics → bool
-
Vibrates on placement and gestures.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxPlacements → int
-
Most items at once (0 = unlimited).
final
- maxScale → double
-
Largest zoom.
final
- minScale → double
-
Smallest zoom.
final
- placementMode → UArPlacementMode
-
Place by tapping, or at the center reticle.
final
- replaceWhenFull → bool
-
When maxPlacements is reached, the oldest is moved instead of refusing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectOnPlace → bool
-
Selects an item right after placing it.
final
-
Opens the share sheet after a snapshot or recording when no callback is given.
final
- showCloseButton → bool
-
Shows a close button.
final
- showGestureHint → bool
-
Shows a gesture tutorial once.
final
- showHints → bool
-
Shows guidance hints.
final
- showItemPicker → bool
-
Shows the item picker strip.
final
- showToolbar → bool
-
Shows the toolbar.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited