Share via


Light.Position Property

Retrieves or sets the position of the light in world space, as specified by a Vector3 structure.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Property Position As Vector3
'Usage
Dim instance As Light
Dim value As Vector3

value = instance.Position

instance.Position = value
public Vector3 Position { get; set; }
public:
property Vector3 Position {
    Vector3 get ();
    void set (Vector3 value);
}
/** @property */
public Vector3 get_Position ()

/** @property */
public void set_Position (Vector3 value)
public function get Position () : Vector3

public function set Position (value : Vector3)
Not applicable.

Property Value

A Vector3 structure that represents the position of the light in world space.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Light Class
Light Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace