Share via


AvatarRenderer.LightDirection Property

Gets or sets the direction of the directional light used by the avatar renderer.

Dd904196.note(en-us,XNAGameStudio.41).gifWindows Specific Information
Avatar-related APIs are exposed on Windows to ease cross-platform development between Windows and the Xbox 360. All avatar-related methods return default values, and rendering methods do not draw anything to the screen.

Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.Avatar (in microsoft.xna.framework.avatar.dll)

Syntax

public Vector3 LightDirection { get; set; }

Property Value

Vector of the directional light.

See Also

Reference

AvatarRenderer Class
AvatarRenderer Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP