Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

AssetDraftDocuments<TAsset>.TryMergeHistory

Section titled “AssetDraftDocuments<TAsset>.TryMergeHistory”
  • Combines adjacent samples of the same document and gesture without retaining live assets.

API: engine
Project: Inno.Editor.Assets

public bool Inno.Editor.Assets.AssetDraftDocuments<TAsset>.TryMergeHistory(Inno.Editor.Interactions.EditorHistoryChange older, Inno.Editor.Interactions.EditorHistoryChange newer, out Inno.Editor.Interactions.EditorHistoryChange? merged)

Parameter older: The preceding owned record.

Parameter newer: The subsequent owned record.

Parameter merged: Receives a new independent payload when the records form a contiguous edit.

True when both records describe the same continuous value change.