GetImageTexCoords
Get the array of billboard image texture coordinate data.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
GetImageTexCoords(List<Vector4>)
Get the array of billboard image texture coordinate data.
public void GetImageTexCoords(List<Vector4> imageTexCoords)
Parameters
The list that receives the array.
Remarks
Each element in the array represents a rectangular UV area of the texture. The second overload guarantees no memory allocation happening if the list capacity is big enough to hold the data.
Additional Resources: BillboardAsset, BillboardAsset.SetImageTexCoords.
GetImageTexCoords()
Get the array of billboard image texture coordinate data.
public Vector4[] GetImageTexCoords()
Returns
Type | Description |
|---|---|
| Vector4[] |
Remarks
Each element in the array represents a rectangular UV area of the texture. The second overload guarantees no memory allocation happening if the list capacity is big enough to hold the data.
Additional Resources: BillboardAsset, BillboardAsset.SetImageTexCoords.