Share via


Vector4.LengthSq Method ()

Returns the square of the length of the current 4-D vector.

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

Syntax

'Declaration
Public Function LengthSq As Single
'Usage
Dim instance As Vector4
Dim returnValue As Single

returnValue = instance.LengthSq
public float LengthSq ()
public:
float LengthSq ()
public float LengthSq ()
public function LengthSq () : float
Not applicable.

Return Value

The square of the length of the current vector.

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

Vector4 Structure
Vector4 Members
Microsoft.WindowsMobile.DirectX Namespace