AndroidJNI.SetFloatArrayElement 设置浮点数数组元素


static function SetFloatArrayElement (array : IntPtr, index : int, val : float) : void

Description描述

Sets the value of one element in a primitive array.

设置一个基本数组一个元素的值。

This function is a special case of SetFloatArrayRegion(), called with region size set to 1.

这个函数是一个特殊情况的SetFloatArrayRegion(),就是region大小设置为1时。

参见: Java Native Interface Specification (Oracle)


,