SetFloatArrayElement(nint, int, float)
Sets the float value of one element in a primitive array.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AndroidJNIModule
SetFloatArrayElement(IntPtr, int, float)
public static void SetFloatArrayElement(nint array, int index, float val)
Parameters
Remarks
This function is a special case of SetFloatArrayRegion(), called with region size set to 1.
Additional Resources: Java Native Interface Specification (Oracle)