Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Applies one primary property edit to a selection using owner-resolved serialized values and one atomic History transaction.

API: scripting
Project: Inno.Editor.Scene
Scope: Editor

public bool InnoEditor.Scene.SceneEdits.ChangeProperties(System.Collections.Generic.IReadOnlyList<InnoEngine.Scene.EngineObject> targets, string propertyName, System.Action mutation, string historyName, string? mergeKey = null, string? componentName = null)

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.

True when at least one object changed; false when all values already matched.

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.