Struct MatchFragmentTask | Kinematica | 0.7.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct MatchFragmentTask

    The match fragment task accepts a list of animation pose sequences and a reference animation pose as its inputs. It outputs the animation pose from the input pose sequence that is most similar to the reference animation pose. A trajectory can optionally be supplied as an additional constraint.

    Namespace: Unity.Kinematica
    Syntax
    [Data("MatchFragment", "#2A3756", DataType.Flag.None)]
    public struct MatchFragmentTask : Task, GenericTask<MatchFragmentTask>

    Fields

    trajectoryWeight

    Denotes a value between 0 and 1 that controls the relative weight between poses and trajectories.

    Declaration
    [Property(null)]
    public float trajectoryWeight
    Field Value
    Type Description
    Single

    Properties

    self

    Declaration
    public Identifier<MatchFragmentTask> self { get; set; }
    Property Value
    Type Description
    Identifier<MatchFragmentTask>
    Implements
    GenericTask<T>.self

    Methods

    Execute()

    Execute method for the task.

    Declaration
    public Result Execute()
    Returns
    Type Description
    Result

    Returns true if the output time index is valid; false otherwise.

    Implements
    Task.Execute()
    Remarks

    The match fragment task accepts a list of animation pose sequences and a reference animation pose as its inputs. It outputs the animation pose from the input pose sequence that is most similar to the reference animation pose. A trajectory can optionally be supplied as an additional constraint.

    ExecuteSelf(ref TaskPointer)

    Surrogate method for automatic task execution.

    Declaration
    public static Result ExecuteSelf(ref TaskPointer self)
    Parameters
    Type Name Description
    TaskPointer self

    Task reference that is supposed to be executed.

    Returns
    Type Description
    Result

    Result of the task execution.

    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