Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    CameraKeys Class

    Namespace: Stride.Rendering
    Assembly: Stride.Rendering.dll

    Keys used by transformations.

    System.Object → CameraKeys
    Derived from CameraKeys:

    public static class CameraKeys
    Name Description
    Fields
    AspectRatio
    FarClipPlane
    FocusDistance

    Camera focus distance

    NearClipPlane
    ViewSize
    ZProjection
    Methods
    ZProjectionACalculate(Single, Single)
    | Improve this Doc View Source

    Fields


    AspectRatio

    public static readonly ValueParameterKey<float> AspectRatio
    Field Value
    Type Description
    ValueParameterKey<System.Single>

    FarClipPlane

    public static readonly ValueParameterKey<float> FarClipPlane
    Field Value
    Type Description
    ValueParameterKey<System.Single>

    FocusDistance

    Camera focus distance

    public static readonly ValueParameterKey<float> FocusDistance
    Field Value
    Type Description
    ValueParameterKey<System.Single>

    NearClipPlane

    public static readonly ValueParameterKey<float> NearClipPlane
    Field Value
    Type Description
    ValueParameterKey<System.Single>

    ViewSize

    public static readonly ValueParameterKey<Vector2> ViewSize
    Field Value
    Type Description
    ValueParameterKey<Vector2>

    ZProjection

    public static readonly ValueParameterKey<Vector2> ZProjection
    Field Value
    Type Description
    ValueParameterKey<Vector2>
    | Improve this Doc View Source

    Methods


    ZProjectionACalculate(Single, Single)

    public static Vector2 ZProjectionACalculate(float nearClipPlane, float farClipPlane)
    Parameters
    Type Name Description
    System.Single nearClipPlane
    System.Single farClipPlane
    Returns
    Type Description
    Vector2

    • Improve this Doc
    • View Source
    In This Article

    Back to top

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