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)

Property Value

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

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

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