ドキュメント

Unity Engine

Unity Engine

GetImageTexCoords

Get the array of billboard image texture coordinate data.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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

imageTexCoords

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.

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.