raisin::Material::FoliageSettings
struct · #include <rayrai/Material.hpp>
Grouped foliage wind/weather authoring fields.
Wraps the ~12 foliage* fields scattered through the flat layout. Read with foliageSettings(), write back with setFoliageSettings().
Public attributes
type
cpp
FoliageType typewindStrength
cpp
float windStrengthrootHeight
cpp
float rootHeighttipHeight
cpp
float tipHeightstiffness
cpp
float stiffnessflutterWeight
cpp
float flutterWeighttwoSidedLighting
cpp
bool twoSidedLightingtransmissionStrength
cpp
float transmissionStrengthtransmissionColor
cpp
glm::vec3 transmissionColorweatherResponse
cpp
bool weatherResponsewetResponse
cpp
float wetResponsesnowResponse
cpp
float snowResponse