Class Frustum
- Namespace
- Graphene
- Assembly
- Graphene-1.0.dll
public sealed class Frustum : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Frustum>, IDisposable
- Inheritance
-
Frustum
- Implements
- Inherited Members
Constructors
Frustum()
public Frustum()
Frustum(FrustumOwnedHandle)
public Frustum(FrustumOwnedHandle handle)
Parameters
handleFrustumOwnedHandle
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
pointPoint3D
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equal(Frustum)
[Version("1.6")]
public bool Equal(Frustum b)
Parameters
bFrustum
Returns
Equals(Frustum?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Frustum? other)
Parameters
otherFrustumAn 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
objobjectThe 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
srcFrustum
Returns
InitFromMatrix(Matrix)
[Version("1.2")]
public Frustum InitFromMatrix(Matrix matrix)
Parameters
matrixMatrix
Returns
IntersectsBox(Box)
[Version("1.2")]
public bool IntersectsBox(Box box)
Parameters
boxBox
Returns
IntersectsSphere(Sphere)
[Version("1.2")]
public bool IntersectsSphere(Sphere sphere)
Parameters
sphereSphere