docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetTrajectoryTransformBetween

    GetTrajectoryTransformBetween(int, int)

    Calculates the relative root transform displacement between a frame and an offset.

    Declaration
    public AffineTransform GetTrajectoryTransformBetween(int poseIndex, int offset)
    Parameters
    Type Name Description
    int poseIndex

    The reference frame for which the relative root transform should be calculated.

    int offset

    An offset in frames that determines the number of frames that the relative root transform should span.

    Returns
    Type Description
    AffineTransform

    The relative root transform between a reference and offset frame passed as argument.

    GetTrajectoryTransformBetween(SamplingTime, float)

    Calculates the relative root transform between a sampling time and a delta time in seconds.

    Declaration
    public AffineTransform GetTrajectoryTransformBetween(SamplingTime samplingTime, float deltaTime)
    Parameters
    Type Name Description
    SamplingTime samplingTime

    The reference sampling time for which the relative root transform should be calculated.

    float deltaTime

    An delta time in seconds that determines the duration that the relative root transform should span.

    Returns
    Type Description
    AffineTransform

    The relative root transform between a sampling time and a delta time in seconds passed as argument.

    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)