Frustum

THREE.Frustum
class Frustum(var planes: UndefOr[Array[Plane]]) extends Object

A class representing a frustum - the volume visible to a camera.

A frustum is created by the intersection of six planes. The planes correspond to the faces of a parallelepiped (a box).

Attributes

Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def containsPoint(point: Vector3): Boolean

Checks whether the frustum contains the object based on its bounding sphere.

Checks whether the frustum contains the object based on its bounding sphere.

Attributes

def copy(frustum: Frustum): this.type

Copies the properties of the passed frustum into this one.

Copies the properties of the passed frustum into this one.

Attributes

def intersectsBox(box: Box3): Boolean

Checks whether the frustum intersects the box.

Checks whether the frustum intersects the box.

Attributes

def intersectsPoint(point: Vector3): Boolean

Checks whether the frustum contains the point.

Checks whether the frustum contains the point.

Attributes

def intersectsSphere(sphere: Sphere): Boolean

Checks whether the frustum intersects the sphere.

Checks whether the frustum intersects the sphere.

Attributes

def jsClone(): Frustum

Creates a new frustum with the same properties as this one.

Creates a new frustum with the same properties as this one.

Attributes

def set(p0: Plane, p1: Plane, p2: Plane, p3: Plane, p4: Plane, p5: Plane): this.type

Sets the frustum from the passed planes. No plane order is implied.

Sets the frustum from the passed planes. No plane order is implied.

Attributes

def setFromProjectionMatrix(m: Matrix4): this.type

Sets the frustum planes from the projection matrix.

Sets the frustum planes from the projection matrix.

Attributes

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

var planes: UndefOr[Array[Plane]]