2022-09-13 05:36:34 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace RimWorldAnimationStudio
|
|
|
|
|
{
|
|
|
|
|
public class PawnKeyframe : Keyframe
|
|
|
|
|
{
|
2022-09-15 05:17:44 +00:00
|
|
|
|
public float bodyAngle;
|
|
|
|
|
public float headAngle;
|
|
|
|
|
public float headBob;
|
|
|
|
|
public float bodyOffsetX;
|
|
|
|
|
public float bodyOffsetZ;
|
|
|
|
|
public float headFacing;
|
|
|
|
|
public float bodyFacing;
|
|
|
|
|
|
2022-09-13 05:36:34 +00:00
|
|
|
|
public float? genitalAngle;
|
|
|
|
|
public bool? quiver;
|
2022-09-15 05:17:44 +00:00
|
|
|
|
|
|
|
|
|
public bool ShouldSerializegenitalAngle() { return genitalAngle != null; }
|
|
|
|
|
public bool ShouldSerializequiver() { return quiver != null; }
|
2022-09-13 05:36:34 +00:00
|
|
|
|
}
|
|
|
|
|
}
|