Frustum class
Defines a frustum constructed out of six Planes.
Constructors
- Frustum()
- Create a new frustum without initializing its bounds.
- Frustum.copy(Frustum other)
-
Create a new frustum as a copy of
other
.factory - Frustum.matrix(Matrix4 matrix)
-
Create a new furstum from a
matrix
.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- plane0 → Plane
-
The first plane that defines the bounds of this frustum.
no setter
- plane1 → Plane
-
The second plane that defines the bounds of this frustum.
no setter
- plane2 → Plane
-
The third plane that defines the bounds of this frustum.
no setter
- plane3 → Plane
-
The fourth plane that defines the bounds of this frustum.
no setter
- plane4 → Plane
-
The fifth plane that defines the bounds of this frustum.
no setter
- plane5 → Plane
-
The sixed plane that defines the bounds of this frustum.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calculateCorners(
Vector3 corner0, Vector3 corner1, Vector3 corner2, Vector3 corner3, Vector3 corner4, Vector3 corner5, Vector3 corner6, Vector3 corner7) → void -
Calculate the corners of this and write them into
corner0
to -
containsVector3(
Vector3 point) → bool -
Check if this contains a
point
. -
copyFrom(
Frustum other) → void -
Copy the
other
frustum into this. -
intersectsWithAabb3(
Aabb3 aabb) → bool -
Check if this intersects with
aabb
. -
intersectsWithSphere(
Sphere sphere) → bool -
Check if this intersects with
sphere
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFromMatrix(
Matrix4 matrix) → void -
Set this from
matrix
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited