Created
November 2, 2017 05:20
-
-
Save hamanishi/ded2067ac6ad189ffec1a46d63d42c15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class PointCloudRender : MonoBehaviour { | |
void Start () | |
{ | |
MeshFilter meshFilter = GetComponent<MeshFilter>(); | |
meshFilter.mesh.SetIndices(meshFilter.mesh.GetIndices(0),MeshTopology.Points, 0); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment