C# Class TreeProperties, tf_client

Component for describing a tree species and its distribution (i.e., a serializable DetailPrototype)
Inheritance: MonoBehaviour
Datei anzeigen Open project: wids-eria/tf_client Class Usage Examples

Public Properties

Property Type Description
dryColor Color
healthyColor Color
maxHeight float
maxWidth float
minHeight float
minWidth float
noiseSpread float
prototypeTexture UnityEngine.Texture2D
treeType TreeGraphicType

Public Methods

Method Description
ToDetailPrototype ( ) : DetailPrototype

Create a DetailPrototype from the tree properties

Method Details

ToDetailPrototype() public method

Create a DetailPrototype from the tree properties
public ToDetailPrototype ( ) : DetailPrototype
return UnityEngine.DetailPrototype

Property Details

dryColor public_oe property

dry tint for the billboard's vertices
public Color dryColor
return Color

healthyColor public_oe property

healthy tint for the billboard's vertices
public Color healthyColor
return Color

maxHeight public_oe property

maximum billboard height
public float maxHeight
return float

maxWidth public_oe property

maximum billboard width
public float maxWidth
return float

minHeight public_oe property

minimum billboard height
public float minHeight
return float

minWidth public_oe property

minimum billboard width
public float minWidth
return float

noiseSpread public_oe property

noise spread
public float noiseSpread
return float

prototypeTexture public_oe property

The texture associated with the tree
public Texture2D,UnityEngine prototypeTexture
return UnityEngine.Texture2D

treeType public_oe property

the tree type
public TreeGraphicType treeType
return TreeGraphicType