UArConfig class
Constructors
-
UArConfig({UArMode mode = UArMode.world, UArCameraFacing camera = UArCameraFacing.back, UArPlaneDetection planeDetection = UArPlaneDetection.both, UArPlaneStyle planeStyle = UArPlaneStyle.grid, Color planeColor = const Color(0x80FFFFFF), bool showFeaturePoints = false, bool showWorldOrigin = false, bool showAnchors = false, bool showSceneMesh = false, bool occlusion = true, bool peopleOcclusion = true, UArSceneReconstruction sceneReconstruction = UArSceneReconstruction.none, UArLightEstimation lightEstimation = UArLightEstimation.environmentalHdr, UArFocusMode focusMode = UArFocusMode.auto, bool instantPlacement = true, bool reticle = false, Color reticleColor = const Color(0xFFFFFFFF), bool coaching = true, UArCoachingGoal coachingGoal = UArCoachingGoal.anyPlane, List<UArReferenceImage> images = const <UArReferenceImage>[], int maxTrackedImages = 4, List<UArReferenceObject> objects = const <UArReferenceObject>[], UArGeoMode geoMode = UArGeoMode.auto, bool cloudAnchors = false, bool semantics = false, bool showFaceMesh = false, Color faceMeshColor = const Color(0x55FFFFFF), bool collaboration = false, Uint8List? worldMap, UArWorldAlignment worldAlignment = UArWorldAlignment.gravity, bool shadows = true, double shadowOpacity = 0.45, double exposure = 1, double environmentIntensity = 1, Color background = const Color(0xFFF2F2F2), bool transparentBackground = false, UArOrbit orbit = const UArOrbit(), int eventRate = 30, bool highFps = false})
-
const
-
UArConfig.viewer({Color background = const Color(0xFFF2F2F2), bool transparentBackground = false, bool shadows = true, double shadowOpacity = 0.35, double exposure = 1, double environmentIntensity = 1, UArOrbit orbit = const UArOrbit(), int eventRate = 30})
-
A plain 3D model viewer: no camera, no permission, works everywhere.
const
Methods
-
copyWith({UArMode? mode, UArCameraFacing? camera, UArPlaneDetection? planeDetection, UArPlaneStyle? planeStyle, Color? planeColor, bool? showFeaturePoints, bool? showWorldOrigin, bool? showAnchors, bool? showSceneMesh, bool? occlusion, bool? peopleOcclusion, UArSceneReconstruction? sceneReconstruction, UArLightEstimation? lightEstimation, UArFocusMode? focusMode, bool? instantPlacement, bool? reticle, Color? reticleColor, bool? coaching, UArCoachingGoal? coachingGoal, List<UArReferenceImage>? images, int? maxTrackedImages, List<UArReferenceObject>? objects, UArGeoMode? geoMode, bool? cloudAnchors, bool? semantics, bool? showFaceMesh, Color? faceMeshColor, bool? collaboration, Uint8List? worldMap, UArWorldAlignment? worldAlignment, bool? shadows, double? shadowOpacity, double? exposure, double? environmentIntensity, Color? background, bool? transparentBackground, UArOrbit? orbit, int? eventRate, bool? highFps})
→ UArConfig
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap()
→ Map<String, Object?>
-
-
toString()
→ String
-
A string representation of this object.
inherited