docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Binary.PoseFragment

    A pose fragment contains information necessary to perform similarity calculations between animation poses.

    Namespace: Unity.Kinematica
    Assembly: solution.dll
    Syntax
    public struct Binary.PoseFragment
    Remarks

    A pose fragment can be constructed from any animation pose contained in the motion library. It requires a metric in order to extract the relevant information. The similarity calculation uses a weighted sum of character space joint positions and joint velocities over a user defined time horizon.

    The main purpose of this class is to: * Create pose fragments from poses in the motion library. * Perform similarity calculation between pose fragments.

    Fields

    Name Description
    array

    Denotes the feature array of this pose fragment.

    metricIndex

    Denotes the metric index that this pose fragment belongs to.

    samplingTime

    Denotes the sampling time that this pose fragment was generated from.

    Properties

    Name Description
    Invalid

    Represents an invalid pose fragment.

    IsValid

    Determines whether or not this pose fragment is valid.

    this[int]

    Gives access to the individual pose fragment features.

    length

    Denotes the size of the feature array.

    Methods

    Name Description
    Dispose()

    Disposes the underlying feature array.

    Equals(PoseFragment, float)

    Determines whether two pose fragments are equal.

    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)