mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +00:00
flowMagnitude and ripplespeed can go negative
This commit is contained in:
parent
42eda97364
commit
289d42cc10
2 changed files with 2 additions and 2 deletions
|
|
@ -305,7 +305,7 @@ void WaterObject::initPersistFields()
|
|||
addArray( "Ripples (texture animation)", MAX_WAVES );
|
||||
|
||||
addField( "rippleDir", TypePoint2F, Offset( mRippleDir, WaterObject ), MAX_WAVES, "Modifies the direction of ripples on the surface." );
|
||||
addFieldV( "rippleSpeed", TypeRangedF32, Offset( mRippleSpeed, WaterObject ), &CommonValidators::PositiveFloat, MAX_WAVES, "Modifies speed of surface ripples.");
|
||||
addFieldV( "rippleSpeed", TypeRangedF32, Offset( mRippleSpeed, WaterObject ), &CommonValidators::F32Range, MAX_WAVES, "Modifies speed of surface ripples.");
|
||||
addField( "rippleTexScale", TypePoint2F, Offset( mRippleTexScale, WaterObject ), MAX_WAVES, "Intensifies the affect of the normal map "
|
||||
"applied to the surface.");
|
||||
addFieldV( "rippleMagnitude", TypeRangedF32, Offset( mRippleMagnitude, WaterObject ), &CommonValidators::PositiveFloat, MAX_WAVES, "Intensifies the vertext modification of the surface." );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue