示例#1
0
 public void RequestTreePoints(Vector3[] meshVertices, int chunkSizeIndex)
 {
     hasRequestedTreePoints = true;
     ThreadedDataRequester.RequestData(
         () =>
         TreePointsGenerator.SelectTreePoints(meshVertices, chunkSizeIndex,
                                              _meshCenter, _treeSettings, _clearingSettings),
         OnTreePointsReceived
         );
 }
示例#2
0
    public void RequestTreePoints(Vector3[] meshVertices, int chunkSizeIndex)
    {
        hasRequestedTreePoints = true;

        ThreadedDataRequester.RequestData(
            () =>
            TreePointsGenerator.SelectTreePoints(meshVertices, chunkSizeIndex),
            OnTreePointsReceived
            );
    }