docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetTrajectoryTransform

    GetTrajectoryTransform(int)

    Retrieves the root transform for an animation frame.

    Declaration
    public AffineTransform GetTrajectoryTransform(int poseIndex)
    Parameters
    Type Name Description
    int poseIndex

    The pose index for which the root transform is to be retrieved.

    Returns
    Type Description
    AffineTransform

    The root transform that corresponds to the pose index passed as argument.

    GetTrajectoryTransform(float)

    Retrieves the root transform for a sample time in seconds.

    Declaration
    public AffineTransform GetTrajectoryTransform(float sampleTimeInSeconds)
    Parameters
    Type Name Description
    float sampleTimeInSeconds

    The sample time in seconds for which the root transform is to be retrieved.

    Returns
    Type Description
    AffineTransform

    The root transform that corresponds to the sample time passed as argument.

    GetTrajectoryTransform(SamplingTime)

    Retrieves the root transform for a sampling time.

    Declaration
    public AffineTransform GetTrajectoryTransform(SamplingTime samplingTime)
    Parameters
    Type Name Description
    SamplingTime samplingTime

    The sampling time for which the root transform is to be retrieved.

    Returns
    Type Description
    AffineTransform

    The root transform that corresponds to the sampling time passed as argument.

    GetTrajectoryTransform(DeltaSamplingTime)

    Retrieves the root transform displacement for a delta sampling time.

    Declaration
    public AffineTransform GetTrajectoryTransform(DeltaSamplingTime deltaTime)
    Parameters
    Type Name Description
    DeltaSamplingTime deltaTime

    The delta time for which the root transform is to be retrieved.

    Returns
    Type Description
    AffineTransform

    The root transform that corresponds to the delta sampling time 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)