Synced
SceneEdits.ChangeProperty
Section titled “SceneEdits.ChangeProperty”
- Applies a mutation to one serializable scene property and records only its before and after values.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Scene
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.Scene.SceneEdits.ChangeProperty(InnoEngine.Scene.EngineObject target, string propertyName, System.Action mutation, string historyName, string? mergeKey = null)Parameters
Section titled “Parameters”Parameter target: The live scene object containing the root serialized property.
Parameter propertyName: The exact root serialized member key.
Parameter mutation: The mutation that assigns the new value.
Parameter historyName: The user-facing history entry name.
Parameter mergeKey: An optional stable key for coalescing adjacent continuous edits.
Returns
Section titled “Returns”true when the property value changed and a history entry was recorded.