Publish current live selection and graphics source with external keys

This commit is contained in:
0xcjy
2026-10-02 12:07:33 +08:00
parent 737d34db87
commit d6efc31917
56 changed files with 16917 additions and 1788 deletions
@@ -10,9 +10,9 @@ namespace Gallop.Live.Cutt
{
get{return LiveTimelineKeyDataType.CyalumeControl;}
}
public Vector3 position;
public Vector3 angle;
public Vector3 scale = Vector3.one;
public Vector3 Position;
public Vector3 Angle;
public Vector3 Scale = Vector3.one;
[NonSerialized]
private Quaternion _rotationCache = Quaternion.identity;
@@ -24,7 +24,7 @@ namespace Gallop.Live.Cutt
{
if (!_hasRotationCache)
{
_rotationCache = Quaternion.Euler(angle);
_rotationCache = Quaternion.Euler(Angle);
_hasRotationCache = true;
}
@@ -35,13 +35,13 @@ namespace Gallop.Live.Cutt
[Serializable]
public class LiveTimelineKeyMobCyalumeControlDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyMobCyalumeControlData>
{
public int unk48;
}
[Serializable]
public class LiveTimelineMobCyalumeControlData : ILiveTimelineGroupDataWithName
{
public LiveTimelineKeyMobCyalumeControlDataList keys;
public int GroupIndex;
public LiveTimelineKeyMobCyalumeControlDataList Keys;
}
public delegate void MobCyalumeUpdateInfoDelegate(ref MobCyalumeUpdateInfo updateInfo);
@@ -34,17 +34,11 @@ namespace Gallop.Live.Cutt
/// </summary>
public LiveCharaPositionFlag FocusCharacters => (LiveCharaPositionFlag)charactor;
// High `attribute` bits are per-track flags (same convention as
// LiveTimelineMonitorData). Across the 4427 authored keys only bits 16..19
// appear, in the combinations 0x50000 (3117), 0x70000 (923), 0x60000 (108),
// 0x10000 (106), 0x40000 (77), 0x30000 (72), 0x20000 (22), 0x00000 (1) and
// 0xF0000 (1). Bit 17 covaries with an authored dofFocalPoint: 95.1% of the
// 3301 bit17-clear keys leave it at the 1.0 default, while 88.1% of the 1126
// bit17-set keys carry a real distance. Bit 16 covaries the other way with
// `charactor`: only 1.4% of the 4219 bit16-set keys move it off Center,
// against 56.7% of the 208 bit16-clear keys. The flag names are still
// unknown. Timeline mode tests the inferred bit17=metric / bit16=camera
// target mapping; see docs/LIVE_DOF_TIMELINE_2026-09-06.md for pixel evidence.
// Actual game metadata and SetupDOFUpdateInfo RVA 0x726a610 confirm:
// bit16 ATTR_USE_LOOKAT; bit17 ATTR_USE_FOCAL_POINT;
// bit18 ATTR_ENABLE_DOF; bit19 ATTR_IS_POINT_BALL_BLUR.
// Current-key flags select the mode; both endpoints resolve world focus
// independently before the next key's unclamped interpolation is applied.
}
[Serializable]