copyWith method
UArConfig
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,
Implementation
UArConfig 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(
mode: mode ?? this.mode,
camera: camera ?? this.camera,
planeDetection: planeDetection ?? this.planeDetection,
planeStyle: planeStyle ?? this.planeStyle,
planeColor: planeColor ?? this.planeColor,
showFeaturePoints: showFeaturePoints ?? this.showFeaturePoints,
showWorldOrigin: showWorldOrigin ?? this.showWorldOrigin,
showAnchors: showAnchors ?? this.showAnchors,
showSceneMesh: showSceneMesh ?? this.showSceneMesh,
occlusion: occlusion ?? this.occlusion,
peopleOcclusion: peopleOcclusion ?? this.peopleOcclusion,
sceneReconstruction: sceneReconstruction ?? this.sceneReconstruction,
lightEstimation: lightEstimation ?? this.lightEstimation,
focusMode: focusMode ?? this.focusMode,
instantPlacement: instantPlacement ?? this.instantPlacement,
reticle: reticle ?? this.reticle,
reticleColor: reticleColor ?? this.reticleColor,
coaching: coaching ?? this.coaching,
coachingGoal: coachingGoal ?? this.coachingGoal,
images: images ?? this.images,
maxTrackedImages: maxTrackedImages ?? this.maxTrackedImages,
objects: objects ?? this.objects,
geoMode: geoMode ?? this.geoMode,
cloudAnchors: cloudAnchors ?? this.cloudAnchors,
semantics: semantics ?? this.semantics,
showFaceMesh: showFaceMesh ?? this.showFaceMesh,
faceMeshColor: faceMeshColor ?? this.faceMeshColor,
collaboration: collaboration ?? this.collaboration,
worldMap: worldMap ?? this.worldMap,
worldAlignment: worldAlignment ?? this.worldAlignment,
shadows: shadows ?? this.shadows,
shadowOpacity: shadowOpacity ?? this.shadowOpacity,
exposure: exposure ?? this.exposure,
environmentIntensity: environmentIntensity ?? this.environmentIntensity,
background: background ?? this.background,
transparentBackground: transparentBackground ?? this.transparentBackground,
orbit: orbit ?? this.orbit,
eventRate: eventRate ?? this.eventRate,
highFps: highFps ?? this.highFps,
);