GetUv1(bool)
Returns the UV1 (TEXCOORD1) extras slice.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public NativeSlice<Vector4> GetUv1(bool allocate = false)
Parameters
When true, attaches a fresh slice sized to if the channel isn't already present. Returns empty if the channel is disabled on the panel's ExtraVertexChannels mask. Idempotent on re-call.
vertices.LengthReturns
Type | Description |
|---|---|
| NativeSlice<Vector4> |