文档

Unity Engine

Unity Engine

GetFloatArrayElement(IntPtr, int)

Returns the value of one element of a primitive array.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule
public static float GetFloatArrayElement(IntPtr array, int index)

Parameters

array


index

Returns

Type

Description

float

Remarks

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