docs.unity3d.com
    Show / Hide Table of Contents

    Class LensSystemDesc

    Use to describe a lens system.

    Inheritance
    Object
    LensSystemDesc
    Namespace: Mechatronics.SensorSDK
    Syntax
    public class LensSystemDesc

    Fields

    anamorphism

    Stretch the sensor to simulate an anamorphic look.

    Declaration
    public float anamorphism
    Field Value
    Type Description
    Single

    aperture

    The f-stop (f-number) of the lens. Lower values give a wider lens aperture. ie: f-stop = f / aperture

    Declaration
    public float aperture
    Field Value
    Type Description
    Single

    barrelClipping

    Controls the self-occlusion of the lens, creating a cat's eye effect.

    Declaration
    public float barrelClipping
    Field Value
    Type Description
    Single

    bladeCount

    The number of blades in the lens aperture. Higher values give a rounder aperture shape.

    Declaration
    public uint bladeCount
    Field Value
    Type Description
    UInt32

    curvature

    Controls the curvature of the lens aperture blades. The minimum value results in fully-curved, perfectly-circular bokeh, and the maximum value results in visible aperture blades.

    Declaration
    public Vector2 curvature
    Field Value
    Type Description
    Vector2

    focalLength

    The simulated distance, in millimeters, between the lens and the sensor of the physical camera. Larger values gives a narrower field of view.

    Declaration
    public float focalLength
    Field Value
    Type Description
    Single

    shift

    Offset from the camera sensor. Use these properties to simulate a shift lens. Measured as a multiple of the sensor size.

    Declaration
    public Vector2 shift
    Field Value
    Type Description
    Vector2
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023