Skip to content

KBE3D / KBCore / Cesium / IntersectionTests / rayPlane

函数: rayPlane()

rayPlane(ray: Ray, plane: Plane, result?: Cartesian3): Cartesian3

Computes the intersection of a ray and a plane.

参数

ray

Ray

The ray.

plane

Plane

The plane.

result?

Cartesian3

The object onto which to store the result.

返回

Cartesian3

The intersection point or undefined if there is no intersections.

KBE3D @3.0.0 Copyright © 2024-present KBE3D