Class GorgonBoundingFrustum.CornerList
The list of corners.
Inherited Members
Namespace: Gorgon.Renderers.Data
Assembly: Gorgon.Core.dll
Syntax
public class GorgonBoundingFrustum.CornerList : IEnumerable<Vector3>, IEnumerable
Properties
| Edit this page View Sourcethis[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 |
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 |
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 SourceGetEnumerator()
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. |
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. |