Plane in 3D space.

三维空间中的平面。

构造函数

  • 参数

    • normal: Vector3 = ...

      The normal vector of the plane.

    • d: number = 0

      The distance from the plane to the origin of the coordinate system.

    返回 Plane

    Constructor method of the plane.

    平面的构造方法

属性

PlaneIntersectionType_Back: number = 0

Intersection type of the plane with other geometries, indicating the back side.

平面与其他几何体相交类型,表示背面。

PlaneIntersectionType_Front: number = 1

Intersection type of the plane with other geometries, indicating the front side.

平面与其他几何体相交类型,表示正面。

PlaneIntersectionType_Intersecting: number = 2

Intersection type of the plane with other geometries, indicating intersection.

平面与其他几何体相交类型,表示相交。

方法

  • 参数

    • destObject: Plane

      The destination object to clone into.

    返回 void

    Clones the plane into another object.

    克隆平面到另一个对象。

  • 参数

    • point0: Vector3

      The first point.

    • point1: Vector3

      The second point.

    • point2: Vector3

      The third point.

    • out: Plane

      The plane to store the result.

    返回 void

    Creates a plane defined by three points.

    通过三个点创建一个平面。