vtlib library
|
Public Member Functions | |
vtPlantAppearance3d * | GetAppearanceByHeight (float fHeight) |
vtPlantAppearance3d * | GetRandomAppearance () |
This class extends vtPlantSpecies with the ability to manage 3D appearances of the species.
vtPlantAppearance3d * vtPlantSpecies3d::GetAppearanceByHeight | ( | float | fHeight | ) |
Return the species' appearance which is closest to a given height
vtPlantAppearance3d * vtPlantSpecies3d::GetRandomAppearance | ( | ) |
Picks a random height, and return the species' appearance which is closest to that height.