ClipIntersectionStyle Class

As part of a ClipStyle, describes how to colorize geometry intersecting the clip planes.

@note Edges are highlighted only if ClipStyle.ClipIntersectionStyle is true.

Methods

Name Description
toJSON(): undefined | ClipIntersectionStyleProps The JSON representation of this style.  
create(color?: RgbColor, width?: number): ClipIntersectionStyle Static Create a highlight from its components.  
fromJSON(props?: ClipIntersectionStyleProps): ClipIntersectionStyle Static    

Properties

Name Type Description
color Readonly RgbColor Color to apply to intersection of geometry and clip planes, default white  
defaults StaticReadonly ClipIntersectionStyle    
matchesDefaults Accessor ReadOnly boolean    
width Readonly number Number of pixels to be considered intersecting the clip plane, default 1  

Defined in

Last Updated: 25 April, 2024