Compartir a través de


LightFixed.Type Property

Gets or sets the type of the light source.

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

Syntax

'Declaration
Public Property Type As LightType
'Usage
Dim instance As LightFixed
Dim value As LightType

value = instance.Type

instance.Type = value
public LightType Type { get; set; }
public:
property LightType Type {
    LightType get ();
    void set (LightType value);
}
/** @property */
public LightType get_Type ()

/** @property */
public void set_Type (LightType value)
public function get Type () : LightType

public function set Type (value : LightType)
Not applicable.

Property Value

A value that represents the light source's type.

Exceptions

Exception type Condition

InvalidCallException

The property value is invalid.

Remarks

This value is a member of the LightType enumerated type.

This property accommodates fixed-point math operations.

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

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