Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@2.1.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.