기술 자료

Unity Engine

Unity Engine

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

Reads an element from a buffer after bounds checking.
읽는 시간 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.