NodeContentCollection.SetParent Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Modifies the value of the parent object of the specified child object.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
protected void SetParent(
	NodeContent child, 
	NodeContent parent
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

child
Type: Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent
The child of the parent being modified.
parent
Type: Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent
The new value for the parent object.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop