C# Class UnityContrib.UnityEditor.TerrainEx

Provides helper methods for working with the T:UnityEngine.Terrain class.
Mostra file Open project: UnityContrib/framework

Public Methods

Method Description
DrawTreesAndFoliage ( this terrain ) : bool

Returns a value indicating if tree and foliage is drawn on the specified terrain.

DrawTreesAndFoliage ( this terrain, bool value ) : void

Assigns a value indicating if tree and foliage is drawn on the specified terrain.

Method Details

DrawTreesAndFoliage() public static method

Returns a value indicating if tree and foliage is drawn on the specified terrain.
public static DrawTreesAndFoliage ( this terrain ) : bool
terrain this /// The to query. ///
return bool

DrawTreesAndFoliage() public static method

Assigns a value indicating if tree and foliage is drawn on the specified terrain.
public static DrawTreesAndFoliage ( this terrain, bool value ) : void
terrain this /// The to change. ///
value bool /// true if trees and foliage is drawn; otherwise false. ///
return void