기술 자료

Unity Engine

Unity Engine

GetUv2(bool)

Returns the UV2 (TEXCOORD2) extras slice.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public NativeSlice<Vector4> GetUv2(bool allocate = false)

Parameters

allocate

When true, attaches a fresh slice sized to
vertices.Length
if the channel isn't already present. Returns empty if the channel is disabled on the panel's ExtraVertexChannels mask. Idempotent on re-call.

Returns

Type

Description

NativeSlice<Vector4>