Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    BoundingFrustum Struct

    Namespace: Stride.Core.Mathematics
    Assembly: Stride.Core.Mathematics.dll

    A bounding frustum.

    public struct BoundingFrustum
    Name Description
    Constructors
    BoundingFrustum(ref Matrix)

    Initializes a new instance of the BoundingFrustum struct from a matrix view-projection.

    Fields
    BottomPlane

    The bottom plane of this frustum.

    FarPlane

    The far plane of this frustum.

    LeftPlane

    The left plane of this frustum.

    NearPlane

    The near plane of this frustum.

    RightPlane

    The right plane of this frustum.

    TopPlane

    The top plane of this frustum.

    Methods
    Contains(ref BoundingBoxExt)

    Check whether this frustum contains the specified BoundingBoxExt.

    | Improve this Doc View Source

    Constructors


    BoundingFrustum(ref Matrix)

    Initializes a new instance of the BoundingFrustum struct from a matrix view-projection.

    public BoundingFrustum(ref Matrix matrix)
    Parameters
    Type Name Description
    Matrix matrix

    The matrix view projection.

    | Improve this Doc View Source

    Fields


    BottomPlane

    The bottom plane of this frustum.

    public Plane BottomPlane
    Field Value
    Type Description
    Plane

    FarPlane

    The far plane of this frustum.

    public Plane FarPlane
    Field Value
    Type Description
    Plane

    LeftPlane

    The left plane of this frustum.

    public Plane LeftPlane
    Field Value
    Type Description
    Plane

    NearPlane

    The near plane of this frustum.

    public Plane NearPlane
    Field Value
    Type Description
    Plane

    RightPlane

    The right plane of this frustum.

    public Plane RightPlane
    Field Value
    Type Description
    Plane

    TopPlane

    The top plane of this frustum.

    public Plane TopPlane
    Field Value
    Type Description
    Plane
    | Improve this Doc View Source

    Methods


    Contains(ref BoundingBoxExt)

    Check whether this frustum contains the specified BoundingBoxExt.

    public bool Contains(ref BoundingBoxExt boundingBoxExt)
    Parameters
    Type Name Description
    BoundingBoxExt boundingBoxExt

    The bounding box.

    Returns
    Type Description
    System.Boolean

    true if this frustum contains the specified bounding box.


    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article
    In This Article
    • Constructors
      • BoundingFrustum(ref Matrix)
    • Fields
      • BottomPlane
      • FarPlane
      • LeftPlane
      • NearPlane
      • RightPlane
      • TopPlane
    • Methods
      • Contains(ref BoundingBoxExt)
    • Inherited Members
    • Extension Methods

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation