Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Sets the parent while preserving this transform’s world-space values.

API: scripting
Project: Inno.Scene
Scope: Runtime

public void InnoEngine.Scene.Transform.SetParent(InnoEngine.Scene.Transform? parent)

Parameter parent: New parent, or null to move to scene level.

Exception T:System.InvalidOperationException: Thrown for hierarchy cycles, cross-scene parents, or a non-invertible parent hierarchy.