浏览代码

Fix code to match coding conventions.

/1.5-preview
John Sietsma 6 年前
当前提交
95b32446
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 10
      Assets/Scripts/ARFeatheredPlaneMeshVisualizer.cs

10
Assets/Scripts/ARFeatheredPlaneMeshVisualizer.cs


ARPlane m_ARPlane;
Material m_FeatheredPlaneMaterial;
private void Awake()
void Awake()
{
m_PlaneMeshVisualizer = GetComponent<ARPlaneMeshVisualizer>();
m_ARPlane = GetComponent<ARPlane>();

private void OnEnable()
void OnEnable()
private void OnDisable()
void OnDisable()
private void ARPlaneMeshVisualizer_meshUpdated(ARPlaneMeshVisualizer planeMeshVisualizer)
void ARPlaneMeshVisualizer_meshUpdated(ARPlaneMeshVisualizer planeMeshVisualizer)
{
GenerateBoundaryUVs(planeMeshVisualizer.mesh);
}

/// is fairly uniform and the center vert is close to the barycentric center.
/// </remarks>
/// <param name="mesh">The <c>Mesh</c> generated by <c>ARPlaneMeshVisualizer</c></param>
public void GenerateBoundaryUVs(Mesh mesh)
void GenerateBoundaryUVs(Mesh mesh)
{
int vertexCount = mesh.vertexCount;

正在加载...
取消
保存