MeshBuilder.SetOpaqueData Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Sets the opaque data for the next triangles.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public void SetOpaqueData(
	OpaqueDataDictionary opaqueData
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

opaqueData
Type: Microsoft.Xna.Framework.Content.Pipeline.OpaqueDataDictionary
Opaque data dictionary for the next triangles.
Sets the opaque data dictionary for the triangles being defined next. This dictionary and the material, set with SetMaterial(MaterialContent), define the GeometryContent object containing the next triangles. When you set a new material or opaque data dictionary the triangles you add afterwards will belong to a new GeometryContent object.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop