Table of Contents

Class DistortionMesh

Namespace
Lime
Assembly
Lime.dll
[TangerineAllowedChildrenTypes(new Type[] { typeof(DistortionMeshPoint) })]
[TangerineVisualHintGroup("/All/Nodes/Images", "Distortion Mesh")]
public class DistortionMesh : Widget, IDisposable, IAnimatorHost, IRenderChainBuilder, IAnimable, ICloneable, IMaterialComponentOwner
Inheritance
DistortionMesh
Implements
Inherited Members
Extension Methods

Constructors

DistortionMesh()

public DistortionMesh()

Fields

points

protected static DistortionMeshPoint[] points

Field Value

DistortionMeshPoint[]

Properties

DefaultMaterial

public IMaterial DefaultMaterial { get; }

Property Value

IMaterial

Material

public IMaterial Material { get; set; }

Property Value

IMaterial

NumCols

[YuzuMember]
public int NumCols { get; set; }

Property Value

int

NumRows

[YuzuMember]
public int NumRows { get; set; }

Property Value

int

Sprite

Gets or sets a texture upon the widget. For widgets which can not have a texture returns null.

[YuzuMember]
[TangerineKeyframeColor(4)]
public override ISprite Sprite { get; set; }

Property Value

ISprite

UV0

public Vector2 UV0 { get; }

Property Value

Vector2

UV1

public Vector2 UV1 { get; }

Property Value

Vector2

Methods

AddToRenderChain(RenderChain)

Adds widget and all its descendants to render chain.

public override void AddToRenderChain(RenderChain chain)

Parameters

chain RenderChain

GetPoint(int, int)

public DistortionMeshPoint GetPoint(int row, int col)

Parameters

row int
col int

Returns

DistortionMeshPoint

GetRenderObject()

TODO: Add summary.

protected override RenderObject GetRenderObject()

Returns

RenderObject

PartialHitTestByContents(ref HitTestArgs)

protected override bool PartialHitTestByContents(ref HitTestArgs args)

Parameters

args HitTestArgs

Returns

bool