public record class MusicTransitionA route from one segment to another, and when it is allowed to be taken.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Declared rather than called, so the rule is content. Gameplay sets a parameter — intensity = 0.8 — and which piece of music that means is an asset edit. The alternative is a switch statement in whichever system happened to notice the fight start, and a composer who wants a different arrangement at 0.6 has to find a programmer.
Transitions are checked in the order they are declared and the first that applies wins, so a specific one goes above a general one exactly as it would in any other rule list.
Fields and properties (6)
public string FromWhich segment it leads out of. Empty means any of them.
public string ToWhich segment it leads to.
public MusicQuantize QuantizeWhere it is allowed to land.
public string ParameterWhich engine-wide parameter decides, or empty for one gameplay takes by name.
public float MinimumThe bottom of the range it applies over.
public float MaximumThe top of the range it applies over.
Used by (3)
- MusicPlayerVixen.Audio
- MusicPlayerTestsVixen.Audio.Tests
- MusicTransitionAssetVixen.Audio