Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetFloatArrayElement(nint, int)

Returns the value of one element of a primitive array.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

GetFloatArrayElement(IntPtr, int)

public static float GetFloatArrayElement(nint 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.