docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PullStateFromVirtualCamera

    PullStateFromVirtualCamera(Vector3, ref LensSettings)

    Create a camera state based on the current transform of this vcam

    Declaration
    protected CameraState PullStateFromVirtualCamera(Vector3 worldUp, ref LensSettings lens)
    Parameters
    Type Name Description
    Vector3 worldUp

    Current World Up direction, as provided by the brain

    LensSettings lens

    Lens settings to serve as base, will be combined with lens from brain, if any

    Returns
    Type Description
    CameraState
    In This Article
    Back to top
    Copyright © 2023 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)