Documentation

Unity Engine

Unity Engine

GetDoubleArrayElement(IntPtr, int)

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

Definition

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

Parameters

array


index

Returns

Type

Description

double

Remarks

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