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
Experimental
edge 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
Experimental
force 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
Experimental
match Color
matchColor?: [number, number, number, number]
The color for matching edge pixels.
Optional
Experimental
mode
Specifies the way edge pixels are matched.
Optional
Experimental
no Match Color
noMatchColor?: [number, number, number, number]
The color for non-matching edge pixels.
Optional
Experimental
search 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