docs.unity3d.com
    Show / Hide Table of Contents

    Class AnimationPoseConfig

    The animation pose config is a configuration file that maps a time range in an animation clip to a ground truth pose. The timestamp record is defined by a pose label and a start time. The timestamp records are order dependent.

    Inheritance
    Object
    AnimationPoseConfig
    Namespace: UnityEngine.Perception.GroundTruth
    Syntax
    public class AnimationPoseConfig : ScriptableObject

    Fields

    animationClip

    The animation clip used for all of the timestamps

    Declaration
    public AnimationClip animationClip
    Field Value
    Type Description
    AnimationClip

    Properties

    timestamps

    The sorted list of timestamps

    Declaration
    public List<PoseTimestampRecord> timestamps { get; set; }
    Property Value
    Type Description
    List<PoseTimestampRecord>

    Methods

    GetPoseAtTime(Single)

    Retrieves the pose for the clip at the current time.

    Declaration
    public string GetPoseAtTime(float time)
    Parameters
    Type Name Description
    Single time

    The time in question

    Returns
    Type Description
    String

    The pose for the passed in time

    In This Article
    • Fields
      • animationClip
    • Properties
      • timestamps
    • Methods
      • GetPoseAtTime(Single)
    Back to top
    Terms of use
    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