Пример #1
0
 /// <summary>
 /// Whether or not a pose clip is meant for relative positioning.
 /// </summary>
 /// <param name="template">The pose information</param>
 /// <returns>True if the pose information is for a RelativePose clip</returns>
 public static bool IsRelative(PoseInfo template) => template.GetType() == typeof(RelativePoseInfo);
Пример #2
0
 /// <summary>
 /// Whether or not a pose clip is meant for absolute positioning.
 /// </summary>
 /// <param name="template">The pose information</param>
 /// <returns>True if the pose information is for an AbsolutePose clip</returns>
 public static bool IsAbsolute(PoseInfo template) => template.GetType() == typeof(AbsolutePoseInfo);