Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
474 lines (424 sloc) 29.7 KB
<Type Name="MeshGeometry3D" FullName="System.Windows.Media.Media3D.MeshGeometry3D">
<TypeSignature Language="C#" Value="public sealed class MeshGeometry3D : System.Windows.Media.Media3D.Geometry3D" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed MeshGeometry3D extends System.Windows.Media.Media3D.Geometry3D" />
<TypeSignature Language="DocId" Value="T:System.Windows.Media.Media3D.MeshGeometry3D" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class MeshGeometry3D&#xA;Inherits Geometry3D" />
<TypeSignature Language="C++ CLI" Value="public ref class MeshGeometry3D sealed : System::Windows::Media::Media3D::Geometry3D" />
<TypeSignature Language="F#" Value="type MeshGeometry3D = class&#xA; inherit Geometry3D" />
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.Media.Media3D.Geometry3D</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Triangle primitive for building a 3-D shape.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
MeshGeometry3D allows the developer to specify position, normal, and texture coordinate information. The <xref:System.Windows.Media.Media3D.MeshGeometry3D.Positions%2A> property is required.
Normals are assumed to be associated with the front faces of a mesh primitive. The winding order (the order in which the Positions that make up each triangle of the mesh are specified) determines whether a given face is front-facing or back-facing. Front-facing triangles are wound in counter-clockwise order; back-facing triangles are wound in clockwise order.
## Examples
[!code-xaml[basic3d#Basic3DXAML3DN3](~/samples/snippets/xaml/VS_Snippets_Wpf/Basic3D/XAML/Window1.xaml#basic3dxaml3dn3)]
]]></format>
</remarks>
<related type="ExternalDocumentation" href="https://go.microsoft.com/fwlink/?LinkID=159964">3-D Solids Sample</related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public MeshGeometry3D ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.Media3D.MeshGeometry3D.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; MeshGeometry3D();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Media.Media3D.MeshGeometry3D" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
[!code-csharp[3dgallery_procedural_snip#Basic3DShapeCodeExampleWholePage](~/samples/snippets/csharp/VS_Snippets_Wpf/3DGallery_procedural_snip/CSharp/Basic3DShapeExample.cs#basic3dshapecodeexamplewholepage)]
[!code-vb[3dgallery_procedural_snip#Basic3DShapeCodeExampleWholePage](~/samples/snippets/visualbasic/VS_Snippets_Wpf/3DGallery_procedural_snip/visualbasic/basic3dshapeexample.vb#basic3dshapecodeexamplewholepage)]
]]></format>
</remarks>
<related type="ExternalDocumentation" href="https://go.microsoft.com/fwlink/?LinkID=159964">3-D Solids Sample</related>
</Docs>
</Member>
<Member MemberName="Bounds">
<MemberSignature Language="C#" Value="public override System.Windows.Media.Media3D.Rect3D Bounds { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Media.Media3D.Rect3D Bounds" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.Media3D.MeshGeometry3D.Bounds" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property Bounds As Rect3D" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property System::Windows::Media::Media3D::Rect3D Bounds { System::Windows::Media::Media3D::Rect3D get(); };" />
<MemberSignature Language="F#" Value="member this.Bounds : System.Windows.Media.Media3D.Rect3D" Usage="System.Windows.Media.Media3D.MeshGeometry3D.Bounds" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.Media3D.Rect3D</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the bounding <see cref="T:System.Windows.Media.Media3D.Rect3D" /> for this <see cref="T:System.Windows.Media.Media3D.MeshGeometry3D" />.</summary>
<value>Bounding <see cref="T:System.Windows.Media.Media3D.Rect3D" /> for the <see cref="T:System.Windows.Media.Media3D.MeshGeometry3D" />.</value>
<remarks>To be added.</remarks>
<related type="ExternalDocumentation" href="https://go.microsoft.com/fwlink/?LinkID=159964">3-D Solids Sample</related>
</Docs>
</Member>
<Member MemberName="Clone">
<MemberSignature Language="C#" Value="public System.Windows.Media.Media3D.MeshGeometry3D Clone ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Windows.Media.Media3D.MeshGeometry3D Clone() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.Media3D.MeshGeometry3D.Clone" />
<MemberSignature Language="VB.NET" Value="Public Function Clone () As MeshGeometry3D" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Windows::Media::Media3D::MeshGeometry3D ^ Clone();" />
<MemberSignature Language="F#" Value="override this.Clone : unit -&gt; System.Windows.Media.Media3D.MeshGeometry3D" Usage="meshGeometry3D.Clone " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.Media3D.MeshGeometry3D</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a modifiable clone of this <see cref="T:System.Windows.Media.Media3D.MeshGeometry3D" />, making deep copies of this object's values. When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values.</summary>
<returns>A modifiable clone of the current object. The cloned object's <see cref="P:System.Windows.Freezable.IsFrozen" /> property will be <see langword="false" /> even if the source's <see cref="P:System.Windows.Freezable.IsFrozen" /> property was <see langword="true." /></returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is used to produce modifiable copies of frozen <xref:System.Windows.Freezable> objects (or any <xref:System.Windows.Freezable> object). For convenience, this method shadows the inherited version with a strongly typed implementation.
For more information, see <xref:System.Windows.Freezable.Clone%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CloneCurrentValue">
<MemberSignature Language="C#" Value="public System.Windows.Media.Media3D.MeshGeometry3D CloneCurrentValue ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Windows.Media.Media3D.MeshGeometry3D CloneCurrentValue() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.Media3D.MeshGeometry3D.CloneCurrentValue" />
<MemberSignature Language="VB.NET" Value="Public Function CloneCurrentValue () As MeshGeometry3D" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Windows::Media::Media3D::MeshGeometry3D ^ CloneCurrentValue();" />
<MemberSignature Language="F#" Value="override this.CloneCurrentValue : unit -&gt; System.Windows.Media.Media3D.MeshGeometry3D" Usage="meshGeometry3D.CloneCurrentValue " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.Media3D.MeshGeometry3D</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates a modifiable clone of this <see cref="T:System.Windows.Media.Media3D.MeshGeometry3D" /> object, making deep copies of this object's current values. Resource references, data bindings, and animations are not copied, but their current values are.</summary>
<returns>A modifiable clone of the current object. The cloned object's <see cref="P:System.Windows.Freezable.IsFrozen" /> property will be <see langword="false" /> even if the source's <see cref="P:System.Windows.Freezable.IsFrozen" /> property was <see langword="true" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is used to produce modifiable copies of frozen <xref:System.Windows.Freezable> objects (or any <xref:System.Windows.Freezable> object). For convenience, this method shadows the inherited version with a strongly typed implementation.
For more information, see <xref:System.Windows.Freezable.CloneCurrentValue%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateInstanceCore">
<MemberSignature Language="C#" Value="protected override System.Windows.Freezable CreateInstanceCore ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class System.Windows.Freezable CreateInstanceCore() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.Media3D.MeshGeometry3D.CreateInstanceCore" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function CreateInstanceCore () As Freezable" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override System::Windows::Freezable ^ CreateInstanceCore();" />
<MemberSignature Language="F#" Value="override this.CreateInstanceCore : unit -&gt; System.Windows.Freezable" Usage="meshGeometry3D.CreateInstanceCore " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Freezable</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Normals">
<MemberSignature Language="C#" Value="public System.Windows.Media.Media3D.Vector3DCollection Normals { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Media.Media3D.Vector3DCollection Normals" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.Media3D.MeshGeometry3D.Normals" />
<MemberSignature Language="VB.NET" Value="Public Property Normals As Vector3DCollection" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Media::Media3D::Vector3DCollection ^ Normals { System::Windows::Media::Media3D::Vector3DCollection ^ get(); void set(System::Windows::Media::Media3D::Vector3DCollection ^ value); };" />
<MemberSignature Language="F#" Value="member this.Normals : System.Windows.Media.Media3D.Vector3DCollection with get, set" Usage="System.Windows.Media.Media3D.MeshGeometry3D.Normals" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.Media3D.Vector3DCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a collection of normal vectors for the <see cref="T:System.Windows.Media.Media3D.MeshGeometry3D" />.</summary>
<value>
<see cref="T:System.Windows.Media.Media3D.Vector3DCollection" /> that contains the normal vectors for the MeshGeometry3D.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Normal vectors are vectors perpendicular to the face of each triangle that defines a mesh. Normals determine whether a given triangle face is lit.
<xref:System.Windows.Media.Media3D.MeshGeometry3D> allows the developer to specify position, normal, and texture coordinate information.
Normals are assumed to be associated with the front faces of a mesh primitive. The winding order (the order in which the Positions that make up each triangle of the mesh are specified) determines whether a given face is front-facing or back-facing.
If normals are not specified, their generation depends on whether the developer has specified triangle indices for the mesh. If triangle indices are specified, normals will be generated that take into account adjacent faces. If triangle indices are not specified, only one normal will be generated for the specified triangle. This might cause a faceted appearance in the mesh.
<a name="dependencyPropertyInfo_Normals"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Media.Media3D.MeshGeometry3D.NormalsProperty>|
|Metadata properties set to `true`|None|
## Examples
[!code-xaml[basic3d#Basic3DXAML3DN3](~/samples/snippets/xaml/VS_Snippets_Wpf/Basic3D/XAML/Window1.xaml#basic3dxaml3dn3)]
]]></format>
</remarks>
<related type="ExternalDocumentation" href="https://go.microsoft.com/fwlink/?LinkID=159964">3-D Solids Sample</related>
</Docs>
</Member>
<Member MemberName="NormalsProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty NormalsProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty NormalsProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Media.Media3D.MeshGeometry3D.NormalsProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly NormalsProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ NormalsProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable NormalsProperty : System.Windows.DependencyProperty" Usage="System.Windows.Media.Media3D.MeshGeometry3D.NormalsProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Media.Media3D.MeshGeometry3D.Normals" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnPropertyChanged">
<MemberSignature Language="C#" Value="protected override void OnPropertyChanged (System.Windows.DependencyPropertyChangedEventArgs e);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void OnPropertyChanged(valuetype System.Windows.DependencyPropertyChangedEventArgs e) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Media.Media3D.MeshGeometry3D.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub OnPropertyChanged (e As DependencyPropertyChangedEventArgs)" />
<MemberSignature Language="C++ CLI" Value="protected:&#xA; override void OnPropertyChanged(System::Windows::DependencyPropertyChangedEventArgs e);" />
<MemberSignature Language="F#" Value="override this.OnPropertyChanged : System.Windows.DependencyPropertyChangedEventArgs -&gt; unit" Usage="meshGeometry3D.OnPropertyChanged e" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.Windows.DependencyPropertyChangedEventArgs" />
</Parameters>
<Docs>
<param name="e">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Positions">
<MemberSignature Language="C#" Value="public System.Windows.Media.Media3D.Point3DCollection Positions { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Media.Media3D.Point3DCollection Positions" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.Media3D.MeshGeometry3D.Positions" />
<MemberSignature Language="VB.NET" Value="Public Property Positions As Point3DCollection" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Media::Media3D::Point3DCollection ^ Positions { System::Windows::Media::Media3D::Point3DCollection ^ get(); void set(System::Windows::Media::Media3D::Point3DCollection ^ value); };" />
<MemberSignature Language="F#" Value="member this.Positions : System.Windows.Media.Media3D.Point3DCollection with get, set" Usage="System.Windows.Media.Media3D.MeshGeometry3D.Positions" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.Media3D.Point3DCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a collection of vertex positions for a <see cref="T:System.Windows.Media.Media3D.MeshGeometry3D" />.</summary>
<value>
<see cref="T:System.Windows.Media.Media3D.Point3DCollection" /> that contains the vertex positions of the MeshGeometry3D.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The points specified by this property represent the vertices of the triangles that make up a 3-D mesh.
The winding order (the order in which the Positions that make up each triangle of the mesh are specified) determines whether a given face is front-facing or back-facing. Front-facing triangles are wound in counter-clockwise order; back-facing triangles are wound in clockwise order.
<a name="dependencyPropertyInfo_Positions"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Media.Media3D.MeshGeometry3D.PositionsProperty>|
|Metadata properties set to `true`|None|
## Examples
[!code-xaml[basic3d#Basic3DXAML3DN3](~/samples/snippets/xaml/VS_Snippets_Wpf/Basic3D/XAML/Window1.xaml#basic3dxaml3dn3)]
]]></format>
</remarks>
<related type="ExternalDocumentation" href="https://go.microsoft.com/fwlink/?LinkID=159964">3-D Solids Sample</related>
</Docs>
</Member>
<Member MemberName="PositionsProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty PositionsProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty PositionsProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Media.Media3D.MeshGeometry3D.PositionsProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly PositionsProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ PositionsProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable PositionsProperty : System.Windows.DependencyProperty" Usage="System.Windows.Media.Media3D.MeshGeometry3D.PositionsProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Media.Media3D.MeshGeometry3D.Positions" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TextureCoordinates">
<MemberSignature Language="C#" Value="public System.Windows.Media.PointCollection TextureCoordinates { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Media.PointCollection TextureCoordinates" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.Media3D.MeshGeometry3D.TextureCoordinates" />
<MemberSignature Language="VB.NET" Value="Public Property TextureCoordinates As PointCollection" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Media::PointCollection ^ TextureCoordinates { System::Windows::Media::PointCollection ^ get(); void set(System::Windows::Media::PointCollection ^ value); };" />
<MemberSignature Language="F#" Value="member this.TextureCoordinates : System.Windows.Media.PointCollection with get, set" Usage="System.Windows.Media.Media3D.MeshGeometry3D.TextureCoordinates" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.PointCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a collection of texture coordinates for the <see cref="T:System.Windows.Media.Media3D.MeshGeometry3D" />.</summary>
<value>
<see cref="T:System.Windows.Media.PointCollection" /> that contains the texture coordinates for the MeshGeometry3D.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Texture coordinates determine how a <xref:System.Windows.Media.Media3D.Material> is mapped to the vertices of the triangles that make up a mesh.
**Note** If no texture coordinates are specified for a MeshGeometry3D, its Material might not render as expected.
<a name="dependencyPropertyInfo_TextureCoordinates"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Media.Media3D.MeshGeometry3D.TextureCoordinatesProperty>|
|Metadata properties set to `true`|None|
## Examples
[!code-xaml[basic3d#Basic3DXAML3DN3](~/samples/snippets/xaml/VS_Snippets_Wpf/Basic3D/XAML/Window1.xaml#basic3dxaml3dn3)]
]]></format>
</remarks>
<related type="ExternalDocumentation" href="https://go.microsoft.com/fwlink/?LinkID=159964">3-D Solids Sample</related>
</Docs>
</Member>
<Member MemberName="TextureCoordinatesProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty TextureCoordinatesProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty TextureCoordinatesProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Media.Media3D.MeshGeometry3D.TextureCoordinatesProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly TextureCoordinatesProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ TextureCoordinatesProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable TextureCoordinatesProperty : System.Windows.DependencyProperty" Usage="System.Windows.Media.Media3D.MeshGeometry3D.TextureCoordinatesProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Media.Media3D.MeshGeometry3D.TextureCoordinates" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TriangleIndices">
<MemberSignature Language="C#" Value="public System.Windows.Media.Int32Collection TriangleIndices { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Media.Int32Collection TriangleIndices" />
<MemberSignature Language="DocId" Value="P:System.Windows.Media.Media3D.MeshGeometry3D.TriangleIndices" />
<MemberSignature Language="VB.NET" Value="Public Property TriangleIndices As Int32Collection" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Windows::Media::Int32Collection ^ TriangleIndices { System::Windows::Media::Int32Collection ^ get(); void set(System::Windows::Media::Int32Collection ^ value); };" />
<MemberSignature Language="F#" Value="member this.TriangleIndices : System.Windows.Media.Int32Collection with get, set" Usage="System.Windows.Media.Media3D.MeshGeometry3D.TriangleIndices" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Media.Int32Collection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a collection of triangle indices for the <see cref="T:System.Windows.Media.Media3D.MeshGeometry3D" />.</summary>
<value>Collection that contains the triangle indices of the MeshGeometry3D.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For a triangle in a given 3-D mesh, the order in which the triangle's vertex positions are specified determines whether the triangle face is a front or back face.
The [Windows Presentation Foundation](https://msdn.microsoft.com/library/f667bd15-2134-41e9-b4af-5ced6fafab5d) 3-D implementation uses a counter-clockwise winding order; that is, the points that determine a front-facing mesh triangle's positions should be specified in counterclockwise order, as viewed from the front of the mesh.
Setting the <xref:System.Windows.Media.Media3D.MeshGeometry3D.TriangleIndices%2A> property is optional. If the indices are not specified, triangles are drawn in a non-indexed fashion. Every set of three positions becomes a triangle.
<a name="dependencyPropertyInfo_TriangleIndices"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Media.Media3D.MeshGeometry3D.TriangleIndicesProperty>|
|Metadata properties set to `true`|None|
## Examples
[!code-xaml[basic3d#Basic3DXAML3DN3](~/samples/snippets/xaml/VS_Snippets_Wpf/Basic3D/XAML/Window1.xaml#basic3dxaml3dn3)]
]]></format>
</remarks>
<related type="ExternalDocumentation" href="https://go.microsoft.com/fwlink/?LinkID=159964">3-D Solids Sample</related>
</Docs>
</Member>
<Member MemberName="TriangleIndicesProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty TriangleIndicesProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty TriangleIndicesProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Media.Media3D.MeshGeometry3D.TriangleIndicesProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly TriangleIndicesProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ TriangleIndicesProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable TriangleIndicesProperty : System.Windows.DependencyProperty" Usage="System.Windows.Media.Media3D.MeshGeometry3D.TriangleIndicesProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Media.Media3D.MeshGeometry3D.TriangleIndices" /> dependency property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.