docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DebugDrawTrajectory

    DebugDrawTrajectory(AffineTransform, int, int, Color)

    Debug visualization for trajectories.

    Declaration
    public void DebugDrawTrajectory(AffineTransform referenceTransform, int poseIndex, int numFrames, Color color)
    Parameters
    Type Name Description
    AffineTransform referenceTransform

    A world space transform that determines the anchor that is to be used for the trajectory visualization.

    int poseIndex

    A pose index that determines where the trajectory should start.

    int numFrames

    A duration in frames that determines the length of the trajectory.

    Color color

    The color that the trajectory should be drawn with.

    DebugDrawTrajectory(AffineTransform, float, float, Color)

    Debug visualization for trajectories.

    Declaration
    public AffineTransform DebugDrawTrajectory(AffineTransform referenceTransform, float sampleTimeInSeconds, float duration, Color color)
    Parameters
    Type Name Description
    AffineTransform referenceTransform

    A world space transform that determines the anchor that is to be used for the trajectory visualization.

    float sampleTimeInSeconds

    A time in seconds that determines where the trajectory should start.

    float duration

    A duration in seconds that determines the length of the trajectory.

    Color color

    The color that the trajectory should be drawn with.

    Returns
    Type Description
    AffineTransform

    DebugDrawTrajectory(AffineTransform, SamplingTime, float, Color)

    Debug visualization for trajectories.

    Declaration
    public void DebugDrawTrajectory(AffineTransform anchorTransform, SamplingTime samplingTime, float timeHorizon, Color color)
    Parameters
    Type Name Description
    AffineTransform anchorTransform

    A world space transform that determines the anchor that is to be used for the trajectory visualization.

    SamplingTime samplingTime

    A sampling time that determines where the trajectory should start.

    float timeHorizon

    A duration in seconds that determines the length of the trajectory.

    Color color

    The color that the trajectory should be drawn with.

    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)