Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/threejs_4_deno/src/math/Frustum.d.ts>Frustum

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class Frustum
import { Frustum } from "https://deno.land/x/threejs_4_deno@v121/src/math/Frustum.d.ts";

Frustums are used to determine what is inside the camera's field of view. They help speed up the rendering process.

Constructors

new
Frustum(
p0?: Plane,
p1?: Plane,
p2?: Plane,
p3?: Plane,
p4?: Plane,
p5?: Plane,
)

Properties

planes: Plane[]

Array of 6 vectors.

Methods

clone(): this
containsPoint(point: Vector3): boolean
copy(frustum: Frustum): this
intersectsBox(box: Box3): boolean
intersectsObject(object: Object3D): boolean
intersectsSphere(sphere: Sphere): boolean
intersectsSprite(sprite: Sprite): boolean
set(
p0: Plane,
p1: Plane,
p2: Plane,
p3: Plane,
p4: Plane,
p5: Plane,
): Frustum