docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CameraDescription

    Represents a camera.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Importer.USD
    Assembly: Unity.Importer.USD.dll
    Syntax
    public struct CameraDescription

    Fields

    aperture

    Aperture number in F-stops.

    Declaration
    public float aperture
    Field Value
    Type Description
    float

    clipingRange

    Clipping range in meters.

    Declaration
    public float2 clipingRange
    Field Value
    Type Description
    float2

    focalLength

    Focal length in millimeters.

    Declaration
    public float focalLength
    Field Value
    Type Description
    float

    focusDistance

    Focus distance in meters.

    Declaration
    public float focusDistance
    Field Value
    Type Description
    float

    lensShift

    Lens shift in aperture space. ie : a horizontal value of 1.0f offsets the lens by the width of the sensor.

    Declaration
    public float2 lensShift
    Field Value
    Type Description
    float2

    projection

    Projection type.

    Declaration
    public CameraDescription.ProjectionType projection
    Field Value
    Type Description
    CameraDescription.ProjectionType

    sensorSize

    sensor size in millimeters for perspective camera, vertical half-size in meters for orthographic camera.

    Declaration
    public float2 sensorSize
    Field Value
    Type Description
    float2

    shutterSpeed

    ShutterSpeed in seconds.

    Declaration
    public float shutterSpeed
    Field Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)