Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/remapper/src/deps.ts>three.Raycaster#set

A framework for Beat Saber map scripting.
Go to Latest
method three.Raycaster.prototype.set
Re-export
import { three } from "https://deno.land/x/remapper@3.0.0/src/deps.ts";
const { Raycaster } = three;

Updates the ray with a new origin and direction.

Parameters

origin: Vector3

The origin vector where the ray casts from.

direction: Vector3

The normalized direction vector that gives direction to the ray.