pub enum AdditiveReference {
Identity,
IdentityParent,
Pose(Entity),
ClipFrame {
clip: Entity,
time: f32,
},
}Expand description
What an additive clip is relative to.
Variants§
Identity
Nothing: the clip’s values are deltas, relative to zero, the identity and one (the module documentation states the composition). A source that stores additive animation as deltas lowers to this; no entity stands for the reference.
IdentityParent
As AdditiveReference::Identity (deltas from zero, the identity and one), composed on the parent’s side of the
base rotation: R = R_clip * R_base, where Identity has R = R_base * R_clip. Translations add and scales
multiply as for Identity. A source whose engine composes its additive animation this way (Sekiro’s blend hint 1,
as HKLib’s ADDITIVE_PARENT_SPACE names it) lowers to this.
Pose(Entity)
The core.rig_pose held by this entity.
ClipFrame
Another clip’s (the core.clip held by clip) values at time seconds.