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.
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 |