Gorgon
Show / Hide Table of Contents

Class GorgonBoundingFrustum.PlaneList

The list of planes.

Inheritance
object
GorgonBoundingFrustum.PlaneList
Implements
IEnumerable<Plane>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Renderers.Data
Assembly: Gorgon.Core.dll
Syntax
public class GorgonBoundingFrustum.PlaneList : IEnumerable<Plane>, IEnumerable

Properties

| Edit this page View Source

this[FrustumPlane]

Property to return a readonly reference to the plane.

Declaration
public ref readonly Plane this[FrustumPlane plane] { get; }
Parameters
Type Name Description
FrustumPlane plane
Property Value
Type Description
Plane
| Edit this page View Source

this[int]

Property to return a readonly reference to the plane by index.

Declaration
public ref readonly Plane this[int index] { get; }
Parameters
Type Name Description
int index
Property Value
Type Description
Plane
| Edit this page View Source

Length

Property to return the number of planes in the frustum.

Declaration
public int Length { get; }
Property Value
Type Description
int

Methods

| Edit this page View Source

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public IEnumerator<Plane> GetEnumerator()
Returns
Type Description
IEnumerator<Plane>

An enumerator that can be used to iterate through the collection.

| Edit this page View Source

GetReadOnlySpan()

Function to retrieve the corners as a read only span.

Declaration
public ReadOnlySpan<Plane> GetReadOnlySpan()
Returns
Type Description
ReadOnlySpan<Plane>

The corners in a read only span.

Implements

IEnumerable<T>
IEnumerable

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonTreeLinqExtensions.TraverseDepthFirst<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
GorgonTreeLinqExtensions.Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author