docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CameraStateExtensions

    Extension methods for CameraState.

    Inheritance
    object
    CameraStateExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Cinemachine
    Assembly: solution.dll
    Syntax
    public static class CameraStateExtensions

    Methods

    Name Description
    FindCustomBlendable(CameraState, Object)

    Returns the index of the custom blendable that is associated with the input.

    GetCorrectedOrientation(CameraState)

    Orientation with correction applied.

    GetCorrectedPosition(CameraState)

    Position with correction applied.

    GetCustomBlendable(CameraState, int)

    Get a custom blendable that will be applied to the camera.
    The base system manages but otherwise ignores this data - it is intended for extension modules

    GetFinalOrientation(CameraState)

    Orientation with correction and dutch applied. This is what the final camera gets.

    GetFinalPosition(CameraState)

    Position with correction applied. This is what the final camera gets.

    GetNumCustomBlendables(CameraState)

    Get the number of custom blendable items that have been added to this CameraState

    HasLookAt(CameraState)

    Returns true if this state has a valid ReferenceLookAt value.

    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)