Share via


FixedPoint.FromFixedInt Method

Creates a FixedPoint structure with the specified fixed-point value.

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

Syntax

'Declaration
Public Shared Function FromFixedInt ( _
    value As Integer _
) As FixedPoint
'Usage
Dim value As Integer
Dim returnValue As FixedPoint

returnValue = FixedPoint.FromFixedInt(value)
public static FixedPoint FromFixedInt (
    int value
)
public:
static FixedPoint FromFixedInt (
    int value
)
public static FixedPoint FromFixedInt (
    int value
)
public static function FromFixedInt (
    value : int
) : FixedPoint
Not applicable.

Parameters

  • value
    The value to use.

Return Value

A FixedPoint structure.

Remarks

Value will be treated as a 16.16 fixed-point number. For example, FixedPoint.FromFixedInt(65536) is equal to 1.0f.

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

FixedPoint Structure
FixedPoint Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace