跳转到内容

rayPlaneHit

此内容尚不支持你的语言。

rayPlaneHit(ray, point, normal): Vec3 | null

Defined in: ui/util/math.ts:78

Where

WorldRay

Vec3

Vec3

Vec3 | null

ray meets the plane through

point with normal

normal, or null when the two are parallel — a plane the ray never reaches has no point on it, and a number would be a position the caller did not ask about.