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;
}
Properties
Optional Experimentaledge Detection Threshold
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 Edges Between Parts
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 Color
matchColor?: [number, number, number, number]
The color for matching edge pixels.
Optional Experimentalmode
Specifies the way edge pixels are matched.
Optional Experimentalno Match Color
noMatchColor?: [number, number, number, number]
The color for non-matching edge pixels.
Optional Experimentalsearch Radius
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