Class BillboardAsset
Inheritance
BillboardAsset
Assembly: UnityEngine.dll
Syntax
public sealed class BillboardAsset : Object
Constructors
|
Improve this Doc
View Source
BillboardAsset()
Declaration
Properties
bottom
Declaration
public float bottom { get; set; }
Property Value
height
Declaration
public float height { get; set; }
Property Value
imageCount
Declaration
public int imageCount { get; }
Property Value
indexCount
Declaration
public int indexCount { get; }
Property Value
material
Declaration
public Material material { get; set; }
Property Value
vertexCount
Declaration
public int vertexCount { get; }
Property Value
width
Declaration
public float width { get; set; }
Property Value
Methods
GetImageTexCoords()
Declaration
public Vector4[] GetImageTexCoords()
Returns
|
Improve this Doc
View Source
GetImageTexCoords(List<Vector4>)
Declaration
public void GetImageTexCoords(List<Vector4> imageTexCoords)
Parameters
GetIndices()
Declaration
public ushort[] GetIndices()
Returns
|
Improve this Doc
View Source
GetIndices(List<UInt16>)
Declaration
public void GetIndices(List<ushort> indices)
Parameters
GetVertices()
Declaration
public Vector2[] GetVertices()
Returns
|
Improve this Doc
View Source
GetVertices(List<Vector2>)
Declaration
public void GetVertices(List<Vector2> vertices)
Parameters
|
Improve this Doc
View Source
SetImageTexCoords(List<Vector4>)
Declaration
public void SetImageTexCoords(List<Vector4> imageTexCoords)
Parameters
SetImageTexCoords(Vector4[])
Declaration
public void SetImageTexCoords(Vector4[] imageTexCoords)
Parameters
Type |
Name |
Description |
Vector4[] |
imageTexCoords |
|
|
Improve this Doc
View Source
SetIndices(List<UInt16>)
Declaration
public void SetIndices(List<ushort> indices)
Parameters
SetIndices(UInt16[])
Declaration
public void SetIndices(ushort[] indices)
Parameters
Type |
Name |
Description |
UInt16[] |
indices |
|
|
Improve this Doc
View Source
SetVertices(List<Vector2>)
Declaration
public void SetVertices(List<Vector2> vertices)
Parameters
SetVertices(Vector2[])
Declaration
public void SetVertices(Vector2[] vertices)
Parameters
Type |
Name |
Description |
Vector2[] |
vertices |
|
Extension Methods