Version: 2018.2
public static InteractionSourceState[] GetCurrentReading ();

戻り値

InteractionSourceState[] An array of InteractionSourceState snapshots.

説明

Get the current SourceState.


public static int GetCurrentReading (InteractionSourceState[] sourceStates);

パラメーター

sourceStatesAn array for storing InteractionSourceState snapshots.

戻り値

int The number of snapshots stored in the array, up to the size of the array.

説明

Allows retrieving the current source states without allocating an array. The number of retrieved source states will be returned, up to a maximum of the size of the array.