Mono XAML/Objects/Renderable Elements/RenderableObjectBase.cs
/// <summary>
/// Will recalculate local transform values as to retain current world transform in relation to new parent
/// </summary>
Will recalculate local transform values as to retain current world transform in relation to new parent
Will recalculate local transform values as to retain current world transform in relation to new parent
private void ConvertWorldValues(RenderableObjectBase newParent)
        {
            LocalPosition = WorldPosition - newParent.WorldPosition;
            LocalSize = WorldSize - newParent.WorldSize;
        }
private void ConvertWorldValues ( RenderableObjectBase newParent ) { LocalPosition = WorldPosition - newParent . WorldPosition ; LocalSize = WorldSize - newParent . WorldSize ; }
Will recalculate local transform values as to retain current world transform in relation to new parent
Will recalculate local transform values as to retain current world transform in relation to new parent
newParent
RenderableObjectBase