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
Methods
Alloc()
[Version("1.2")]
public static Frustum Alloc()
Returns
ContainsPoint(Point3D)
[Version("1.2")]
public bool ContainsPoint(Point3D point)
Parameters
point
Point3D
Returns
Equal(Frustum)
[Version("1.6")]
public bool Equal(Frustum b)
Parameters
b
Frustum
Returns
Equals(Frustum?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Frustum? other)
Parameters
other
FrustumAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Free()
[Version("1.2")]
public void Free()
GetGType()
public static Type GetGType()
Returns
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
Returns
InitFromFrustum(Frustum)
[Version("1.2")]
public Frustum InitFromFrustum(Frustum src)
Parameters
src
Frustum
Returns
InitFromMatrix(Matrix)
[Version("1.2")]
public Frustum InitFromMatrix(Matrix matrix)
Parameters
matrix
Matrix
Returns
IntersectsBox(Box)
[Version("1.2")]
public bool IntersectsBox(Box box)
Parameters
box
Box
Returns
IntersectsSphere(Sphere)
[Version("1.2")]
public bool IntersectsSphere(Sphere sphere)
Parameters
sphere
Sphere