Table of Contents

Class Frustum

Namespace
Graphene
Assembly
Graphene-1.0.dll
public sealed class Frustum : BoxedRecord, IEquatable<Frustum>
Inheritance
Frustum
Implements
Inherited Members

Constructors

Frustum()

public Frustum()

Frustum(FrustumOwnedHandle)

public Frustum(FrustumOwnedHandle handle)

Parameters

handle FrustumOwnedHandle

Properties

Handle

public FrustumOwnedHandle Handle { get; }

Property Value

FrustumOwnedHandle

Methods

Alloc()

[Version("1.2")]
public static Frustum Alloc()

Returns

Frustum

ContainsPoint(Point3D)

[Version("1.2")]
public bool ContainsPoint(Point3D point)

Parameters

point Point3D

Returns

bool

Equal(Frustum)

[Version("1.6")]
public bool Equal(Frustum b)

Parameters

b Frustum

Returns

bool

Equals(Frustum?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Frustum? other)

Parameters

other Frustum

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Free()

[Version("1.2")]
public void Free()

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Init(Plane, Plane, Plane, Plane, Plane, Plane)

[Version("1.2")]
public Frustum Init(Plane p0, Plane p1, Plane p2, Plane p3, Plane p4, Plane p5)

Parameters

p0 Plane
p1 Plane
p2 Plane
p3 Plane
p4 Plane
p5 Plane

Returns

Frustum

InitFromFrustum(Frustum)

[Version("1.2")]
public Frustum InitFromFrustum(Frustum src)

Parameters

src Frustum

Returns

Frustum

InitFromMatrix(Matrix)

[Version("1.2")]
public Frustum InitFromMatrix(Matrix matrix)

Parameters

matrix Matrix

Returns

Frustum

IntersectsBox(Box)

[Version("1.2")]
public bool IntersectsBox(Box box)

Parameters

box Box

Returns

bool

IntersectsSphere(Sphere)

[Version("1.2")]
public bool IntersectsSphere(Sphere sphere)

Parameters

sphere Sphere

Returns

bool