Universe.Physics.BulletSPlugin.BSTerrainManager.SetTerrain C# (CSharp) Method

SetTerrain() public method

public SetTerrain ( float heightMap ) : void
heightMap float
return void
        public void SetTerrain(float[] heightMap)
        {
            float[] localHeightMap = heightMap;
            // If there are multiple requests for changes to the same terrain between ticks,
            //      only do that last one.
            PhysicsScene.PostTaintObject("TerrainManager.SetTerrain", 0,
                delegate() { UpdateTerrain(BSScene.TERRAIN_ID, localHeightMap); });
        }