Class WaveComponent
- Namespace
- Lime
- Assembly
- Lime.dll
WaveComponent applies the wave deformation to its owner.
[TangerineMenuPath("Effects/Wave")]
public class WaveComponent : MaterialComponent<WaveMaterial>, IDisposable, IAnimable
- Inheritance
-
WaveComponent
- Implements
- Inherited Members
- Extension Methods
Properties
Amplitude
The strength of the wave along x and y axes.
[YuzuMember]
public Vector2 Amplitude { get; set; }
Property Value
Blending
Material's blend mode.
[YuzuMember]
public Blending Blending { get; set; }
Property Value
Frequency
The frequency of the wave along x and y axes.
[YuzuMember]
public Vector2 Frequency { get; set; }
Property Value
IsClamped
Whether the waving is clamped withing the widget bounds.
[YuzuMember]
public bool IsClamped { get; set; }
Property Value
Phase
Phase of waving along x and y axes. (0, 0) -- initial state, (1, 1) -- one full cycle, (2, 2) -- two cycles, etc.
[YuzuMember]
public Vector2 Phase { get; set; }
Property Value
Pivot
Denotes the fixed point on the waving surface. Top-left: (0, 0), right-bottom: (1, 1)
[YuzuMember]
public Vector2 Pivot { get; set; }
Property Value
WaveType
Wave type
[YuzuMember]
public WaveType WaveType { get; set; }
Property Value
Methods
OnOwnerChanged(Node)
protected override void OnOwnerChanged(Node oldOwner)
Parameters
oldOwner
Node