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
Properties
DefaultMaterial
public IMaterial DefaultMaterial { get; }
Property Value
Material
public IMaterial Material { get; set; }
Property Value
NumCols
[YuzuMember]
public int NumCols { get; set; }
Property Value
NumRows
[YuzuMember]
public int NumRows { get; set; }
Property Value
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
UV0
public Vector2 UV0 { get; }
Property Value
UV1
public Vector2 UV1 { get; }
Property Value
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
Returns
GetRenderObject()
TODO: Add summary.
protected override RenderObject GetRenderObject()
Returns
PartialHitTestByContents(ref HitTestArgs)
protected override bool PartialHitTestByContents(ref HitTestArgs args)
Parameters
args
HitTestArgs