The signed distance from the origin to the plane. Default is 0.
A unit length Vector3 defining the normal of the plane. Default is (1, 0, 0).
Apply a Matrix4 to the plane. The matrix must be an affine, homogeneous transform. If supplying an optionalNormalMatrix, it can be created like so: const optionalNormalMatrix = new THREE.Matrix3().getNormalMatrix( matrix );
The [Page:Matrix4] to apply.
pre-computed normal [Page:Matrix3] of the Matrix4 being applied.
The Line3 to check for intersection.
The result will be copied into this Vector3.
Returns the intersection point of the passed line and the plane. Returns null if the line does not intersect. Returns the line's starting point if the line is coplanar with the plane.
Defines the plane based on the 3 provided points. The winding order is assumed to be counter-clockwise, and determines the direction of the .normal.
first point on the plane.
second point on the plane.
third point on the plane.
Generated using TypeDoc
A two dimensional surface that extends infinitely in 3d space, represented in Hessian normal form by a unit length normal vector and a constant. See the ngx3js docs page for details.
Examples
webgl / clipping / advanced | webgl / clipping / intersection | webgl / clipping / stencil | webgl / clipping | webgl / portal