Synced
SceneEdits
Section titled “SceneEdits”
- Applies scene-document mutations and records compact, reload-safe inverse data in editor history.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: InnoEditor.Core.EditorModule
Project: Inno.Editor.Scene
Scope: Editor
Declaration
Section titled “Declaration”public sealed class InnoEditor.Scene.SceneEdits : InnoEditor.Core.EditorModuleMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | SceneEdits.Constructor | Appears in the generated script reference without a matching public or protected engine constructor. |
| Methods | SceneEdits.AddComponent | Adds one component and records its identity, stable type, index, and persistent properties. |
| Methods | SceneEdits.AddSystem | Adds one scene system and records its identity, stable type, index, and persistent properties. |
| Methods | SceneEdits.CanEdit(InnoEngine.Scene.EngineObject) | Gets whether a scene object belongs to an editable presented scene. |
| Methods | SceneEdits.CanEdit(InnoEngine.Scene.GameScene) | Gets whether the scene is editable in the current Edit or isolated Play world. |
| Methods | SceneEdits.ChangeHierarchy | Applies a hierarchy mutation and records only the affected parent and sibling-index tuples. |
| Methods | SceneEdits.ChangeProperties | Applies one primary property edit to a selection using owner-resolved serialized values and one atomic History transaction. |
| Methods | SceneEdits.ChangeProperty | Applies a mutation to one serializable scene property and records only its before and after values. |
| Methods | SceneEdits.CloseScene | Closes one loaded scene without deleting its source asset and records a reversible document change. |
| Methods | SceneEdits.CreateGameObject | Creates a GameObject, optionally parents it, and records only the new subtree state. |
| Methods | SceneEdits.CreateScene | Creates an additive scene and records a reversible document change. |
| Methods | SceneEdits.DeleteGameObject | Deletes a GameObject subtree and records only that subtree plus incoming serialized references. |
| Methods | SceneEdits.DeleteGameObjects | Deletes selected subtrees atomically, omitting descendants already covered by a selected ancestor. |
| Methods | SceneEdits.HaveSamePropertyValues | Compares common serialized property values using the complete owner serialization context. |
| Methods | SceneEdits.InstantiatePrefab | Instantiates a prefab into a loaded scene and records the created subtree as one reversible edit. |
| Methods | SceneEdits.MoveGameObjects | Moves minimal selected roots together, preserving descendants and recording only affected placements. |
| Methods | SceneEdits.RemoveComponent | Removes the component from its scene owner and records a reversible serialized history change. |
| Methods | SceneEdits.RemoveSystem | Removes the system from its scene and records a reversible serialized history change. |
| Methods | SceneEdits.RenameGameObject | Renames a live GameObject and records the two display strings. |
| Methods | SceneEdits.RenameScene | Renames a loaded scene and records the two display strings. |
| Methods | SceneEdits.ResetComponent | Resets one component and records its compact property state before and after Reset. |
| Methods | SceneEdits.ResetSystem | Resets one scene system and records its compact property state before and after Reset. |
| Methods | SceneEdits.SetComponentIndex | Moves an attached component and records only its two attachment indices. |
| Methods | SceneEdits.SetGameObjectActive | Changes the explicit active state of a GameObject and records the two Boolean values. |
| Methods | SceneEdits.SetGameObjectLayer | Changes the layer of a live GameObject and records the two stable numeric layer slots. |
| Methods | SceneEdits.SetGameObjectTag | Changes the tag of a live GameObject and records the two ordinal tag strings. |
| Methods | SceneEdits.SetSceneIndex | Moves a loaded scene to a hierarchy index and records the two integer positions. |
| Methods | SceneEdits.SetSystemIndex | Moves a registered system and records only its two display indices. |