Synced
Transform.SetParent
Section titled “Transform.SetParent”
- Sets the parent while preserving this transform’s world-space values.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Scene
Scope: Runtime
Declaration
Section titled “Declaration”public void InnoEngine.Scene.Transform.SetParent(InnoEngine.Scene.Transform? parent)Parameters
Section titled “Parameters”Parameter parent: New parent, or null to move to scene level.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown for hierarchy cycles, cross-scene parents, or a non-invertible parent hierarchy.