Table of Contents

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

Vector2

Blending

Material's blend mode.

[YuzuMember]
public Blending Blending { get; set; }

Property Value

Blending

Frequency

The frequency of the wave along x and y axes.

[YuzuMember]
public Vector2 Frequency { get; set; }

Property Value

Vector2

IsClamped

Whether the waving is clamped withing the widget bounds.

[YuzuMember]
public bool IsClamped { get; set; }

Property Value

bool

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

Vector2

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

Vector2

WaveType

Wave type

[YuzuMember]
public WaveType WaveType { get; set; }

Property Value

WaveType

Methods

OnOwnerChanged(Node)

protected override void OnOwnerChanged(Node oldOwner)

Parameters

oldOwner Node