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

API: engine
Project: Inno.Scene

public void Inno.Scene.Components.Transform.SetParent(Inno.Scene.Components.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.