Bagikan melalui


BasicEffect.World Property

Gets or sets the world matrix. Use this matrix to change the position of the model, using world coordinates.

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

Syntax

public Matrix World { get; set; }

Property Value

The world matrix.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP