Class PositionPredictor | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class PositionPredictor

    Inheritance
    System.Object
    PositionPredictor
    Namespace: Cinemachine.Utility
    Syntax
    public class PositionPredictor

    Properties

    IsEmpty

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    System.Boolean

    Smoothing

    Declaration
    public float Smoothing { get; set; }
    Property Value
    Type Description
    System.Single

    Methods

    AddPosition(Vector3, Single, Single)

    Declaration
    public void AddPosition(Vector3 pos, float deltaTime, float lookaheadTime)
    Parameters
    Type Name Description
    Vector3 pos
    System.Single deltaTime
    System.Single lookaheadTime

    ApplyTransformDelta(Vector3)

    Declaration
    public void ApplyTransformDelta(Vector3 positionDelta)
    Parameters
    Type Name Description
    Vector3 positionDelta

    PredictPosition(Single)

    Declaration
    public Vector3 PredictPosition(float lookaheadTime)
    Parameters
    Type Name Description
    System.Single lookaheadTime
    Returns
    Type Description
    Vector3

    PredictPositionDelta(Single)

    Declaration
    public Vector3 PredictPositionDelta(float lookaheadTime)
    Parameters
    Type Name Description
    System.Single lookaheadTime
    Returns
    Type Description
    Vector3

    Reset()

    Declaration
    public void Reset()
    Back to top
    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