Struct Trajectory | Kinematica | 0.5.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Trajectory

    Data type to be used in a task graph that represents a trajectory.

    Namespace: Unity.Kinematica
    Syntax
    [Data("Trajectory", DataType.Flag.None)]
    public struct Trajectory

    Fields

    transform

    Denotes the root transform of this trajectory element.

    Declaration
    public AffineTransform transform
    Field Value
    Type Description
    AffineTransform

    Properties

    Identity

    Identity trajectory.

    Declaration
    public static Trajectory Identity { get; }
    Property Value
    Type Description
    Trajectory

    Methods

    Create(AffineTransform)

    Creates a trajectory element.

    Declaration
    public static Trajectory Create(AffineTransform transform)
    Parameters
    Type Name Description
    AffineTransform transform

    The transform to be used for this trajectory element.

    Returns
    Type Description
    Trajectory

    The corresponding trajectory element.

    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