XREdgeCompareProperties¶
Interface XREdgeComparePropertiesExperimental
interface XREdgeCompareProperties {
edgeDetectionThreshold?: number;
forceEdgesBetweenParts?: boolean;
matchColor?: [number, number, number, number];
mode?: XREdgeCompareMode;
noMatchColor?: [number, number, number, number];
searchRadius?: number;
}
edgeDetectionThreshold?: number;
forceEdgesBetweenParts?: boolean;
matchColor?: [number, number, number, number];
mode?: XREdgeCompareMode;
noMatchColor?: [number, number, number, number];
searchRadius?: number;
}
Optional Experimentaledge
edgeDetectionThreshold?: 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.
Optional Experimentalforce
forceEdgesBetweenParts?: 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.
Optional Experimentalmatch
matchColor?: [number, number, number, number]
The color for matching edge pixels.
Optional Experimentalmode
Specifies the way edge pixels are matched.
Optional Experimentalno
noMatchColor?: [number, number, number, number]
The color for non-matching edge pixels.
Optional Experimentalsearch
searchRadius?: number
The search radius for matching edges in pixel. The greater the value the more surrounding pixels will be checked for matches.
XREdgeCompareProperties is experimental and may be changed in the future without notice! The XR Edge compare properties
See