Gorgon
Show / Hide Table of Contents

Class GorgonBoundingFrustum.CornerList

The list of corners.

Inheritance
object
GorgonBoundingFrustum.CornerList
Implements
IEnumerable<Vector3>
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.CornerList : IEnumerable<Vector3>, IEnumerable

Properties

| Edit this page View Source

this[FrustumCorner]

Property to return a readonly reference to the plane.

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

this[int]

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

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

Length

Property to return the number of corners 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<Vector3> GetEnumerator()
Returns
Type Description
IEnumerator<Vector3>

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<Vector3> GetReadOnlySpan()
Returns
Type Description
ReadOnlySpan<Vector3>

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