ドキュメント

Unity Engine

Unity Engine

ReadArrayElementBoundsChecked<T>(void*, int, int)

Reads an element from a buffer after bounds checking.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static T ReadArrayElementBoundsChecked<T>(void* source, int index, int capacity) where T : unmanaged

Parameters

source

The buffer to read from.

index

The index of the element.

capacity

The buffer capacity (in number of elements). Used for the bounds checking.

Returns

Type

Description

TThe element read from the buffer.