Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

BillboardAsset.GetImageTexCoords

Switch to Manual
public Vector4[] GetImageTexCoords();
public void GetImageTexCoords(List<Vector4> imageTexCoords);

Parameters

imageTexCoordsThe list that receives the array.

Description

Get the array of billboard image texture coordinate data.

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.

See Also: BillboardAsset, SetImageTexCoords.

Did you find this page useful? Please give it a rating: