Class Particle
Definition
- Namespace:
- Tizen.NUI.ParticleSystem
- Assembly:
- Tizen.NUI.dll
Particle class provides interface to particle data streams
public class Particle
- Inheritance
-
objectParticle
Properties
View SourceColor
Color of the Particle.
Declaration
public Vector4 Color { get; set; }
Property Value
Type | Description |
---|---|
Vector4 |
Lifetime
Lifetime of the Particle.
Declaration
public float Lifetime { get; set; }
Property Value
Type | Description |
---|---|
float |
LifetimeBase
Initial lifetime of the Particle.
Declaration
public float LifetimeBase { get; set; }
Property Value
Type | Description |
---|---|
float |
Opacity
Opacity of the Particle.
Declaration
public float Opacity { get; set; }
Property Value
Type | Description |
---|---|
float |
Position
Position of the Particle.
Declaration
public Vector3 Position { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Rotation
Rotation of the Particle.
Declaration
public Vector4 Rotation { get; set; }
Property Value
Type | Description |
---|---|
Vector4 |
Scale
Scale of the Particle.
Declaration
public Vector3 Scale { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Velocity
Velocity of the Particle.
Declaration
public Vector3 Velocity { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Methods
View SourceGetStreamValue(uint)
Returns value from specified data stream (default/custom)
Declaration
public Particle.StreamView GetStreamValue(uint streamIndex)
Parameters
Type | Name | Description |
---|---|---|
uint | streamIndex | Index of stream to get value from |
Returns
Type | Description |
---|---|
Particle.StreamView | StreamView object |
GetStreamValue(ParticleStream)
Returns value from specified default streamIndex
Declaration
public Particle.StreamView GetStreamValue(ParticleStream streamIndex)
Parameters
Type | Name | Description |
---|---|---|
ParticleStream | streamIndex | Index of stream to get value from |
Returns
Type | Description |
---|---|
Particle.StreamView | StreamView object |
SetStreamValue(float, uint)
Sets value on the specified data stream
Declaration
public void SetStreamValue(float value, uint streamIndex)
Parameters
Type | Name | Description |
---|---|---|
float | value | Value to set |
uint | streamIndex | Index of stream to get value from |
SetStreamValue(float, ParticleStream)
Sets value on the specified data stream
Declaration
public void SetStreamValue(float value, ParticleStream particleStream)
Parameters
Type | Name | Description |
---|---|---|
float | value | Value to set |
ParticleStream | particleStream | Stream to get value from |
SetStreamValue(Vector2, uint)
Sets value on the specified data stream
Declaration
public void SetStreamValue(Vector2 value, uint streamIndex)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | value | Value to set |
uint | streamIndex | Index of stream to get value from |
SetStreamValue(Vector2, ParticleStream)
Sets value on the specified data stream
Declaration
public void SetStreamValue(Vector2 value, ParticleStream particleStream)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | value | Value to set |
ParticleStream | particleStream | Stream to get value from |
SetStreamValue(Vector3, uint)
Sets value on the specified data stream
Declaration
public void SetStreamValue(Vector3 value, uint streamIndex)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | value | Value to set |
uint | streamIndex | Index of stream to get value from |
SetStreamValue(Vector3, ParticleStream)
Sets value on the specified data stream
Declaration
public void SetStreamValue(Vector3 value, ParticleStream particleStream)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | value | Value to set |
ParticleStream | particleStream | Stream to get value from |
SetStreamValue(Vector4, uint)
Sets value on the specified data stream
Declaration
public void SetStreamValue(Vector4 value, uint streamIndex)
Parameters
Type | Name | Description |
---|---|---|
Vector4 | value | Value to set |
uint | streamIndex | Index of stream to get value from |
SetStreamValue(Vector4, ParticleStream)
Sets value on the specified data stream
Declaration
public void SetStreamValue(Vector4 value, ParticleStream particleStream)
Parameters
Type | Name | Description |
---|---|---|
Vector4 | value | Value to set |
ParticleStream | particleStream | Stream to get value from |