[This is preliminary documentation and is subject to change.]

Returns an array filled from an unmanaged memory buffer.

Namespace: org.critterai.interop
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static float[] ExtractArrayFloat(
	IntPtr source,
	int length
)
Public Shared Function ExtractArrayFloat ( _
	source As IntPtr, _
	length As Integer _
) As Single()
public:
static array<float>^ ExtractArrayFloat(
	IntPtr source, 
	int length
)

Parameters

source
IntPtr
The pointer to an allocated unmanaged memory buffer.
length
Int32
The number of elements to copy into the return array.

Return Value

A float array filled from the unmanaged memory buffer.

See Also