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

    Struct ReduceTask

    The reduce 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("Reduce", "#2A3756", DataType.Flag.None)]
    public struct ReduceTask : Task

    Fields

    responsiveness

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

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

    Methods

    Execute()

    Execute method for the reduce 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 reduce 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 TaskRef)

    Surrogate method for automatic task execution.

    Declaration
    public static Result ExecuteSelf(ref TaskRef self)
    Parameters
    Type Name Description
    TaskRef 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