{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct LensSettings | Cinemachine | 2.3.5-preview.3
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Struct LensSettings

    Describes the FOV and clip planes for a camera. This generally mirrors the Unity Camera's lens settings, and will be used to drive the Unity camera when the vcam is active.

    상속된 멤버
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    네임스페이스: Cinemachine
    어셈블리: solution.dll
    구문
    [Serializable]
    [DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
    public struct LensSettings

    생성자

    이름 설명
    LensSettings(float, float, float, float, float)

    Explicit constructor for this LensSettings

    필드

    이름 설명
    Default

    Default Lens Settings

    Dutch

    The dutch (tilt) to be applied to the camera. In degrees

    FarClipPlane

    The far clip plane for this LensSettings

    FieldOfView

    This is the camera view in vertical degrees. For cinematic people, a 50mm lens on a super-35mm sensor would equal a 19.6 degree FOV

    LensShift

    For physical cameras only: position of the gate relative to the film back

    NearClipPlane

    The near clip plane for this LensSettings

    OrthographicSize

    When using an orthographic camera, this defines the height, in world co-ordinates, of the camera view.

    프로퍼티

    이름 설명
    Aspect

    Sensor aspect, not screen aspect. For nonphysical cameras, this is the same thing.

    IsPhysicalCamera

    This is set every frame by the virtual camera, based on the value found in the currently associated Unity camera

    Orthographic

    This is set every frame by the virtual camera, based on the value found in the currently associated Unity camera

    SensorSize

    This is set every frame by the virtual camera, based on the value found in the currently associated Unity camera

    메서드

    이름 설명
    FromCamera(Camera)

    Creates a new LensSettings, copying the values from the supplied Camera

    Lerp(LensSettings, LensSettings, float)

    Linearly blends the fields of two LensSettings and returns the result

    SnapshotCameraReadOnlyProperties(ref LensSettings)

    Snapshot the properties that are read-only in the Camera

    SnapshotCameraReadOnlyProperties(Camera)

    Snapshot the properties that are read-only in the Camera

    Validate()

    Make sure lens settings are sane. Call this from OnValidate().

    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)