共用方式為


GraphicsDevice.DrawUserPrimitives Method

Renders geometric primitives.

Overload List

Name Description
GraphicsDevice.DrawUserPrimitives (PrimitiveType, T[], Int32, Int32) Draws primitives.
GraphicsDevice.DrawUserPrimitives (PrimitiveType, T[], Int32, Int32, VertexDeclaration) Draws primitives.

See Also

Reference

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