StraightLineMesh
命名空间:FairyGUI
源码:Assets/Scripts/Core/Mesh/StraightLineMesh.cs (行 8)
public class StraightLineMesh : IMeshFactory
接口:IMeshFactory
构造函数
StraightLineMesh()
public StraightLineMesh();
源码:Core/Mesh/StraightLineMesh.cs (行 35)
StraightLineMesh(float, Color, bool)
public StraightLineMesh(float lineWidth, Color color, bool repeatFill);
| 参数 | 类型 | 说明 |
|---|---|---|
lineWidth | float | |
color | Color | |
repeatFill | bool |
源码:Core/Mesh/StraightLineMesh.cs (行 47)
字段
color
public Color color;
源码:Core/Mesh/StraightLineMesh.cs (行 13)
end
public Vector3 end;
源码:Core/Mesh/StraightLineMesh.cs (行 23)
lineWidth
public float lineWidth;
源码:Core/Mesh/StraightLineMesh.cs (行 28)
origin
public Vector3 origin;
源码:Core/Mesh/StraightLineMesh.cs (行 18)
repeatFill
public bool repeatFill;
源码:Core/Mesh/StraightLineMesh.cs (行 33)
方法
OnPopulateMesh(VertexBuffer)
public void OnPopulateMesh(VertexBuffer vb);
| 参数 | 类型 | 说明 |
|---|---|---|
vb | VertexBuffer |
源码:Core/Mesh/StraightLineMesh.cs (行 54)