SceneEdits.ChangeProperties
Section titled “SceneEdits.ChangeProperties”
- Applies one primary property edit to a selection using owner-resolved serialized values and one atomic History transaction.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Scene
Declaration
Section titled “Declaration”public bool Inno.Editor.Scene.SceneEdits.ChangeProperties(System.Collections.Generic.IReadOnlyList<Inno.Scene.EngineObject> targets, string propertyName, System.Action mutation, string historyName, string? mergeKey = null, string? componentName = null)Parameters
Section titled “Parameters”Parameter targets: Ordered compatible scene objects; the first object supplies the edited value.
Parameter propertyName: The common root serialized property.
Parameter mutation: Changes the primary value synchronously; no callback is retained.
Parameter historyName: The user-facing batch edit name.
Parameter mergeKey: An optional active gesture identity; null keeps discrete edits separate.
Parameter componentName: An optional public scalar value component; Euler axes use euler.x, euler.y or euler.z.
Returns
Section titled “Returns”True when at least one object changed; false when all values already matched.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The selection is empty or a required common property is absent.
Exception T:System.InvalidOperationException: An owner is unavailable, read-only, or rollback fails.