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