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.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Perception.GroundTruth.Labelers
Assembly: Unity.Perception.Runtime.dll
Syntax
[CreateAssetMenu(fileName = "AnimationPoseConfig", menuName = "Perception/Animation Pose Config")]
[MovedFrom("UnityEngine.Perception.GroundTruth")]
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(float)
Retrieves the pose for the clip at the current time.
Declaration
public string GetPoseAtTime(float time)
Parameters
Type | Name | Description |
---|---|---|
float | time | The time in question |
Returns
Type | Description |
---|---|
string | The pose for the passed in time |