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
AnimationFps
[YuzuMember]
[TangerineKeyframeColor(13)]
public float AnimationFps { get; set; }
Property Value
Color
[YuzuMember]
[TangerineKeyframeColor(9)]
public Color4 Color { get; set; }
Property Value
FirstFrame
[YuzuMember]
[TangerineKeyframeColor(11)]
public int FirstFrame { get; set; }
Property Value
GravityAmount
[YuzuMember]
[TangerineKeyframeColor(23)]
public float GravityAmount { get; set; }
Property Value
LastFrame
[YuzuMember]
[TangerineKeyframeColor(12)]
public int LastFrame { get; set; }
Property Value
LoopedAnimation
[YuzuMember]
[TangerineKeyframeColor(14)]
public bool LoopedAnimation { get; set; }
Property Value
MagnetAmount
[YuzuMember]
[TangerineKeyframeColor(25)]
public float MagnetAmount { get; set; }
Property Value
Scale
[YuzuMember]
[TangerineKeyframeColor(19)]
public Vector2 Scale { get; set; }
Property Value
Size
[YuzuMember]
[TangerineKeyframeColor(18)]
[Validation.RatioInfo(new Type[] { typeof(ParticleModifier) })]
[Validation.SizeInfo(new Type[] { typeof(ParticleModifier) })]
public Vector2 Size { get; set; }
Property Value
Spin
[YuzuMember]
[TangerineKeyframeColor(21)]
public float Spin { get; set; }
Property Value
Sprite
[YuzuMember]
[TangerineKeyframeColor(27)]
public ISprite Sprite { get; set; }
Property Value
Velocity
[YuzuMember]
[TangerineKeyframeColor(20)]
public float Velocity { get; set; }
Property Value
WindAmount
[YuzuMember]
[TangerineKeyframeColor(24)]
public float WindAmount { get; set; }
Property Value
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