ClipPlaneProperties#
Type alias ClipPlaneProperties
Clip Plane Properties: {
clippedNodes?: number[];
enabled?: boolean;
excludedNodes?: number[];
invisible?: boolean;
name?: string;
normal?: [number, number, number] | Float32Array;
position?: [number, number, number] | Float32Array;
tangent?: [number, number, number] | Float32Array;
thickness?: number;
transform?: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number] | Float32Array;
}
clippedNodes?: number[];
enabled?: boolean;
excludedNodes?: number[];
invisible?: boolean;
name?: string;
normal?: [number, number, number] | Float32Array;
position?: [number, number, number] | Float32Array;
tangent?: [number, number, number] | Float32Array;
thickness?: number;
transform?: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number] | Float32Array;
}
Type declaration
-
Optional
clippedNodes?: number[] Default
[]
-
Optional
enabled?: booleanThe enabled state of the clip plane.
Default
false
-
Optional
excludedNodes?: number[] List of node IDs which should be excluded from the clipping. The properties clippedNodes and excludedNodes are mutually exclusive.
Default
[]
-
Optional
invisible?: booleanThe invisible state of the clip plane.
Default
false
-
Optional
name?: stringThe name of the clip plane.
Default
undefined
-
Optional
normal?: [number, number, number] | Float32ArrayThe normal vector of the clip plane.
Default
[0, 1, 0]
-
Optional
position?: [number, number, number] | Float32ArrayThe position of the clip plane.
Default
[0,0,0]
-
Optional
tangent?: [number, number, number] | Float32ArrayThe tangent vector of the clip plane.
Default
[1, 0, 0]
-
Optional
thickness?: numberThe thickness of the clip plane.
Default
0
-
Optional
transform?: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number] | Float32ArrayThe transformation matrix of the clip plane.
Default
[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]
List of node IDs which should be exclusively clipped. The properties clippedNodes and excludedNodes are mutually exclusive.