GFX
  • Docs
  • API
Search Results for

    Show / Hide Table of Contents
    • Genesis.Core
      • AssetManager
      • DirectionalLight
      • Game
      • GameElement
      • GameEventHandler
      • IGameBehavior
      • Input
      • Input.Keys
      • Layer
      • Light
      • Light2D
      • PointLight
      • Scene
      • Scene2D
      • Scene3D
      • SceneEventHandler
      • SceneSizeEvenHandler
      • Storage
      • Utils
      • Window
      • Window.WindowEventHandler
      • WindowUtilities
      • WindowUtilities.POINT
      • WindowUtilities.RECT
    • Genesis.Core.Behaviors
      • AnimationBehavior
      • CameraFlags
      • CharacterController2D
      • ControllerPreset
      • MoveDirection
      • MovementFlags
      • SpriteMovementController
    • Genesis.Core.Behaviors.Physics2D
      • BoxCollider
      • BoxRigidBody
      • BoxTrigger2D
      • BufferedSpriteCollider
      • PhysicsBox2D
      • PhysicsPolygon2D
      • Rigidbody2D
    • Genesis.Core.Behaviors.Physics3D
      • BoxCollider
      • BoxRigidBody
      • BoxTrigger
      • CapsuleCollider
      • CapsuleRigidBody
      • CompoundMeshCollider
      • ConvexHullBehavior
      • ConvexHullCollider
      • MeshCollider
      • QubeConvexHull
      • SphereCollider
      • SphereRigidBody
      • SphereTrigger
      • StaticMeshBehavior
    • Genesis.Core.Behaviors._3D
      • Stance
      • ThirdpersonCharacterController
    • Genesis.Core.GameElements
      • BufferedSprite
      • CameraElement
      • Element3D
      • Empty
      • FindPathAsynchResult
      • GridCell
      • Model
      • NavMesh
      • Obstacle
      • ParticleBuffers
      • ParticleDeffinition
      • ParticleEmitter
      • Qube
      • RectElement
      • Skybox
      • Sphere
      • Sprite
      • SpriteShapeDeffinition
      • Terrain2D
      • Terrain3D
      • TerrainData
      • Waypoint
    • Genesis.Graphics
      • Animation
      • AnimationCallback
      • AnimationCallback.AnimationEvent
      • Camera
      • CameraType
      • Face
      • Font
      • Framebuffer
      • Frustum
      • Glyphe
      • IRenderDevice
      • InstancedElement
      • InstancedMesh
      • Material
      • MaterialBuffer
      • Mesh
      • PerspectiveCamera
      • RenderInstanceContainer
      • RenderSettings
      • Shader
      • ShaderProgram
      • SpriteSheet
      • TexCoords
      • Texture
      • Viewport
    • Genesis.Graphics.Animation3D
      • Animation
      • Animator
      • AssimpNodeData
      • Bone
      • KeyPosition
      • KeyRotation
      • KeyScale
      • ModelMesh
      • boneinfo
      • vertex
    • Genesis.Graphics.Physics
      • BulletDebugRenderer
    • Genesis.Graphics.RenderDevice
      • GLRenderer
      • LegacyRenerer
    • Genesis.Graphics.Shaders.OpenGL
      • AnimatedModelShader
      • BasicShader
      • BorderCircleShader
      • DiffuseLightning
      • DiffuseNormalLightning
      • DiffuseNormalShader
      • DiffuseShader
      • DiffuseSolidShader
      • Element3DShader
      • FXScreenSpaceShadowShader
      • InstanceShader2D
      • InstancedShader
      • Light2DShader
      • LightmapShader
      • MVPRectShader
      • MVPShader
      • MVPSolidShader
      • ParticleShader
      • ScreenShader
      • SkyboxShader
      • SolidShapeShader
      • SpecularShader
      • SpriteShader
      • TerrainShader
      • WireframeShader
    • Genesis.Graphics.Shapes
      • BufferedSpriteShape
      • CircleShape
      • FrameShape
      • GlypheShape
      • Light2DShape
      • LineShape
      • PlaneShape
      • QubeShape
      • RectShape
      • Shape
      • SphereShape
      • SpriteShape
    • Genesis.Math
      • Matrix4x4
      • NoisePoint
      • PerlinNoise
      • Rect
      • Vec3
    • Genesis.Physics
      • Aabb
      • ColliderBehavior2D
      • ColliderBehavior3D
      • CollisionGroup
      • CollisionGroupExtensions
      • HitResult
      • HitResult2D
      • MatrixSet
      • MouseRay2
      • PhysicHandler
      • PhysicHandlerEvent
      • PhysicPropeterys
      • PhysicsBehavior
      • PhysicsBehaviorEvent
      • PhysicsHandler2D
      • PhysicsHandler3D
      • Ray2D
      • Raycast
      • Raycast2D
      • RigidBodyBehavior2D
      • RigidBodyBehavior3D
      • TriggerBehavior2D
      • TriggerBehavior3D
    • Genesis.UI
      • Button
      • Canvas
      • GridView
      • ImageButton
      • Label
      • ListItem
      • ListItemBehavior
      • ListSelector
      • ListSelectorBehavior
      • Panel
      • ProgressBar
      • UIEvent
      • UIParseHandler
      • UIParser
      • Widget
      • WidgetAnchor
    • Genesis.UI.Items
      • GridViewImageIcon
      • IItem

    Struct Frustum

    Represents a viewing frustum in 3D space, defined by its corners in both the near and far planes.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Genesis.Graphics
    Assembly: Genesis.dll
    Syntax
    public struct Frustum

    Fields

    bottomLeftFar

    Gets or sets the bottom-left corner of the far plane of the frustum.

    Declaration
    public vec3 bottomLeftFar
    Field Value
    Type Description
    vec3

    bottomLeftNear

    Gets or sets the bottom-left corner of the near plane of the frustum.

    Declaration
    public vec3 bottomLeftNear
    Field Value
    Type Description
    vec3

    bottomRightFar

    Gets or sets the bottom-right corner of the far plane of the frustum.

    Declaration
    public vec3 bottomRightFar
    Field Value
    Type Description
    vec3

    bottomRightNear

    Gets or sets the bottom-right corner of the near plane of the frustum.

    Declaration
    public vec3 bottomRightNear
    Field Value
    Type Description
    vec3

    center

    Gets or sets the center point of the frustum.

    Declaration
    public vec3 center
    Field Value
    Type Description
    vec3

    centerFar

    Gets or sets the center point of the far plane of the frustum.

    Declaration
    public vec3 centerFar
    Field Value
    Type Description
    vec3

    centerNear

    Gets or sets the center point of the near plane of the frustum.

    Declaration
    public vec3 centerNear
    Field Value
    Type Description
    vec3

    topLeftFar

    Gets or sets the top-left corner of the far plane of the frustum.

    Declaration
    public vec3 topLeftFar
    Field Value
    Type Description
    vec3

    topLeftNear

    Gets or sets the top-left corner of the near plane of the frustum.

    Declaration
    public vec3 topLeftNear
    Field Value
    Type Description
    vec3

    topRightFar

    Gets or sets the top-right corner of the far plane of the frustum.

    Declaration
    public vec3 topRightFar
    Field Value
    Type Description
    vec3

    topRightNear

    Gets or sets the top-right corner of the near plane of the frustum.

    Declaration
    public vec3 topRightNear
    Field Value
    Type Description
    vec3

    Methods

    ToList(mat4)

    Transforms the frustum corners using the specified transformation matrix and returns them as a list of GlmSharp.vec3 vectors.

    Declaration
    public List<vec3> ToList(mat4 matrix)
    Parameters
    Type Name Description
    mat4 matrix

    The transformation matrix to apply to the frustum corners.

    Returns
    Type Description
    List<vec3>

    A List<T> containing the transformed corners of the frustum.

    In this article
    Back to top Generated by DocFX