Class ParticleEmitterProxy
Definition
- Namespace:
- Tizen.NUI.ParticleSystem
- Assembly:
- Tizen.NUI.dll
This class provides functionality that can be used inside the Source/Modifier callbacks.
public class ParticleEmitterProxy
- Inheritance
-
objectParticleEmitterProxy
Methods
View SourceAddLocalStreamFloat(float)
Adds local particle data stream of float values
Declaration
public uint AddLocalStreamFloat(float defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | defaultValue | Default value |
Returns
| Type | Description |
|---|---|
| uint | Index of new stream |
AddLocalStreamVector2(Vector2)
Adds local particle data stream of Vector2 values
Declaration
public uint AddLocalStreamVector2(Vector2 defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | defaultValue | Default value |
Returns
| Type | Description |
|---|---|
| uint | Index of new stream |
AddLocalStreamVector3(Vector3)
Adds local particle data stream of Vector3 values
Declaration
public uint AddLocalStreamVector3(Vector3 defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | defaultValue | Default value |
Returns
| Type | Description |
|---|---|
| uint | Index of new stream |
AddLocalStreamVector4(Vector4)
Adds local particle data stream of Vector4 values
Declaration
public uint AddLocalStreamVector4(Vector4 defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector4 | defaultValue | Default value |
Returns
| Type | Description |
|---|---|
| uint | Index of new stream |
NewParticle(float)
Creates new particle
Declaration
public Particle NewParticle(float lifetime)
Parameters
| Type | Name | Description |
|---|---|---|
| float | lifetime | Lifetime of the particle in seconds |
Returns
| Type | Description |
|---|---|
| Particle | New Particle object or null |
Remarks
Function may fail and return null if current number of particles exceeds limits of emitter. Particle is valid only inside the callback and must not be stored and used anywhere else. Otherwise the behaviour is undefined.