PickRay beta
Interface of @v12-engine/client/lite-views
ts
export interface PickRayA ray as a pick by box takes it (DoodadView.boxHit, EntityRenderer.staticBoxHit): where it starts and which way it goes, of length 1 (a distance along it is in the world's units). A Babylon Ray is one
Members
direction
ts
direction: {
x: number;
y: number;
z: number;
};Which way the ray goes, a vector of length 1
origin
ts
origin: {
x: number;
y: number;
z: number;
};Where the ray starts, in world units