Struct TimeScaleModifierState
JSON-safe snapshot of one TimeScaleModifier entry. Captured by CaptureState() and restored by RestoreState(MasterTimeState). The serialized fields are exactly the modifier fields plus the assigned ID, so a round-trip preserves both behavior and identity.
Inherited Members
Namespace: Scylla.Core.Time
Assembly: ScyllaCore.dll
Syntax
[Serializable]
public struct TimeScaleModifierState
Fields
ID
Identifier assigned to the modifier when it was pushed.
Declaration
public int ID
Field Value
| Type | Description |
|---|---|
| int |
Mode
Composition mode (Override, Multiply, Add).
Declaration
public TimeScaleBlendMode Mode
Field Value
| Type | Description |
|---|---|
| TimeScaleBlendMode |
Priority
Priority used to position the modifier within the stack.
Declaration
public int Priority
Field Value
| Type | Description |
|---|---|
| int |
RemainingDuration
Remaining real-time seconds before auto-expiration. Negative = infinite.
Declaration
public float RemainingDuration
Field Value
| Type | Description |
|---|---|
| float |
Scale
Multiplicative or override scale.
Declaration
public float Scale
Field Value
| Type | Description |
|---|---|
| float |
SourceID
Optional caller-supplied source tag.
Declaration
public string SourceID
Field Value
| Type | Description |
|---|---|
| string |