Class WavingEffectModifier
- Namespace
 - Nautilus.Utility.MaterialModifiers
 
- Assembly
 - Nautilus.dll
 
A material modifier that enables a "waving" effect on all materials, commonly used for plants.
  
  public class WavingEffectModifier : MaterialModifier
  - Inheritance
 - 
      
      
      WavingEffectModifier
 
- Inherited Members
 
- Extension Methods
 
Constructors
WavingEffectModifier(float)
Creates a WavingEffectModifier that enables the plant waving effect on all materials.
  
  public WavingEffectModifier(float waveUpMin)
  Parameters
waveUpMinfloat- Also referred to as the "influence cutoff y". Range is 0-1. Higher values tend to lead to higher intensities of the waving effect towards the "base" of the plant.
 
Properties
Frequency
The frequency of the waving effect. X, Y and Z values refer to respective directions while W refers to "rustling".
  
  public Vector4 Frequency { get; init; }
  Property Value
- Vector4
 
Scale
The scale of the waving effect. X, Y and Z values refer to respective directions while W refers to "rustling".
  
  public Vector4 Scale { get; init; }
  Property Value
- Vector4
 
Speed
The speed of the waving effect. The X value refers to speed while the Y value refers to rustling speed.
  
  public Vector2 Speed { get; init; }
  Property Value
- Vector2
 
Methods
EditMaterial(Material, Renderer, int, MaterialType)
Applies changes to the specified material.
  
  public override void EditMaterial(Material material, Renderer renderer, int materialIndex, MaterialUtils.MaterialType materialType)
  Parameters
materialMaterialrendererRenderermaterialIndexintmaterialTypeMaterialUtils.MaterialType