跳转到内容

WorldRay

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

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

The world-space ray a screen point names.

Every plane it could land on gives a different answer, so the ray is what exists and a position is what a chosen plane yields. dir is a unit vector; origin sits on the near plane.

dir: Vec3

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


origin: Vec3

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