GetDashPattern(Span<float>)
Copies the current dash pattern into the provided span.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public int GetDashPattern(Span<float> values)
Parameters
The destination span. Must have a length greater than or equal to the current dash pattern length. Pass an empty span to query the required length without copying.
Returns
Type | Description |
|---|---|
| int | The number of elements in the dash pattern. If |