次の方法で共有


ModelMeshPart.PrimitiveCount Property

Gets the number of primitives to render.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public int PrimitiveCount { get; }

Property Value

The number of primitives to render. The number of vertices used is a function of primitiveCount and primitiveType.

See Also

Reference

ModelMeshPart Class
ModelMeshPart Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista