Table of Contents

Class ParticleModifier

Namespace
Lime
Assembly
Lime.dll
[TangerineAllowedParentTypes(new Type[] { typeof(ParticleEmitter) })]
public class ParticleModifier : Node, IDisposable, IAnimatorHost, IRenderChainBuilder, IAnimable, ICloneable
Inheritance
ParticleModifier
Implements
Inherited Members
Extension Methods

Constructors

ParticleModifier()

public ParticleModifier()

Properties

AngularVelocity

[YuzuMember]
[TangerineKeyframeColor(22)]
public float AngularVelocity { get; set; }

Property Value

float

AnimationFps

[YuzuMember]
[TangerineKeyframeColor(13)]
public float AnimationFps { get; set; }

Property Value

float

Color

[YuzuMember]
[TangerineKeyframeColor(9)]
public Color4 Color { get; set; }

Property Value

Color4

FirstFrame

[YuzuMember]
[TangerineKeyframeColor(11)]
public int FirstFrame { get; set; }

Property Value

int

GravityAmount

[YuzuMember]
[TangerineKeyframeColor(23)]
public float GravityAmount { get; set; }

Property Value

float

LastFrame

[YuzuMember]
[TangerineKeyframeColor(12)]
public int LastFrame { get; set; }

Property Value

int

LoopedAnimation

[YuzuMember]
[TangerineKeyframeColor(14)]
public bool LoopedAnimation { get; set; }

Property Value

bool

MagnetAmount

[YuzuMember]
[TangerineKeyframeColor(25)]
public float MagnetAmount { get; set; }

Property Value

float

Scale

[YuzuMember]
[TangerineKeyframeColor(19)]
public Vector2 Scale { get; set; }

Property Value

Vector2

Size

[YuzuMember]
[TangerineKeyframeColor(18)]
[Validation.RatioInfo(new Type[] { typeof(ParticleModifier) })]
[Validation.SizeInfo(new Type[] { typeof(ParticleModifier) })]
public Vector2 Size { get; set; }

Property Value

Vector2

Spin

[YuzuMember]
[TangerineKeyframeColor(21)]
public float Spin { get; set; }

Property Value

float

Sprite

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

Property Value

ISprite

Velocity

[YuzuMember]
[TangerineKeyframeColor(20)]
public float Velocity { get; set; }

Property Value

float

WindAmount

[YuzuMember]
[TangerineKeyframeColor(24)]
public float WindAmount { get; set; }

Property Value

float

Methods

AddToRenderChain(RenderChain)

Decides what descendant nodes should be added to render chain and under which conditions. This includes children Nodes as well as this Node itself. i.e. if you want Render() of this node to be called you should invoke AddSelfToRenderChain in AddToRenderChain override.

public override void AddToRenderChain(RenderChain chain)

Parameters

chain RenderChain

GetSprite(int)

public ISprite GetSprite(int index)

Parameters

index int

Returns

ISprite