Warning

Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only. These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use. Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability. Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing. The software is provided as is with no guarantees or support.

XREdgeCompareProperties

Type Alias XREdgeComparePropertiesExperimental

XREdgeCompareProperties: {
    edgeDetectionThreshold?: number;
    forceEdgesBetweenParts?: boolean;
    matchColor?: [number, number, number, number];
    mode?: XREdgeCompareMode;
    noMatchColor?: [number, number, number, number];
    searchRadius?: number;
}

XREdgeCompareProperties is experimental and may be changed in the future without notice! The XR Edge compare properties

Type declaration

  • OptionaledgeDetectionThreshold?: number

    The threshold for detecting camera edges. Must be a value between 0 and 1. The greater the value the more likely a pixel in the camera image is considered an edge pixel.

    0.5
    
  • OptionalforceEdgesBetweenParts?: boolean

    Specifies if edges in the rendered scene should be generated between two connected parts even when the angle between their surfaces is not above the edge generation threshold.

    false
    
  • OptionalmatchColor?: [number, number, number, number]

    The color for matching edge pixels.

    [0, 1, 0, 1]
    
  • Optionalmode?: XREdgeCompareMode

    Specifies the way edge pixels are matched.

    XREdgeCompareMode.SCENE_WITH_CAMERA
    
  • OptionalnoMatchColor?: [number, number, number, number]

    The color for non-matching edge pixels.

    [1, 0, 0, 1]
    
  • OptionalsearchRadius?: number

    The search radius for matching edges in pixel. The greater the value the more surrounding pixels will be checked for matches.

    5