Class ParticleSource<T>
Definition
- Namespace:
- Tizen.NUI.ParticleSystem
- Assembly:
- Tizen.NUI.dll
Class represents the particle source
public class ParticleSource<T> : BaseHandle, IDynamicResourceHandler, INameScope, System.IDisposable where T : ParticleSourceInterface, new()
- Inheritance
- Implements
-
System.IDisposable
Remarks
ParticleSource is responsible for emission of particles. It calls the implementation of ParticleSourceInterface class. The callback runs on update thread.
Constructors
View SourceParticleSource(params object[])
Constructor of ParticleSource
Declaration
public ParticleSource(params object[] list)
Parameters
Type | Name | Description |
---|---|---|
object[] | list |
Remarks
ParticleSource is a generic type that will call back into the given ParticleSourceInterface instance. The instance of T (derived from ParticleSourceInterface) is created internally and own by the ParticleSource. The constructor takes variable number of arguments which is processed when called ParticleSourceInterface.Construct()
Properties
View SourceCallback
Returns associated source callback interface
Declaration
public T Callback { get; }
Property Value
Type | Description |
---|---|
T | Source callback interface |
Remarks
ParticleSource is responsible for emission of particles. It calls the implementation of ParticleSourceInterface class. The callback runs on update thread.
Methods
View SourceDispose(DisposeTypes)
Dispose.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
Overrides
Remarks
ParticleSource is responsible for emission of particles. It calls the implementation of ParticleSourceInterface class. The callback runs on update thread.