Class Particle

    Definition

    Namespace:
    Tizen.NUI.ParticleSystem
    Assembly:
    Tizen.NUI.dll

    Particle class provides interface to particle data streams

    public class Particle
    Inheritance
    object
    Particle

    Properties

    View Source

    Color

    Color of the Particle.

    Declaration
    public Vector4 Color { get; set; }
    Property Value
    Type Description
    Vector4
    View Source

    Lifetime

    Lifetime of the Particle.

    Declaration
    public float Lifetime { get; set; }
    Property Value
    Type Description
    float
    View Source

    LifetimeBase

    Initial lifetime of the Particle.

    Declaration
    public float LifetimeBase { get; set; }
    Property Value
    Type Description
    float
    View Source

    Opacity

    Opacity of the Particle.

    Declaration
    public float Opacity { get; set; }
    Property Value
    Type Description
    float
    View Source

    Position

    Position of the Particle.

    Declaration
    public Vector3 Position { get; set; }
    Property Value
    Type Description
    Vector3
    View Source

    Rotation

    Rotation of the Particle.

    Declaration
    public Vector4 Rotation { get; set; }
    Property Value
    Type Description
    Vector4
    View Source

    Scale

    Scale of the Particle.

    Declaration
    public Vector3 Scale { get; set; }
    Property Value
    Type Description
    Vector3
    View Source

    Velocity

    Velocity of the Particle.

    Declaration
    public Vector3 Velocity { get; set; }
    Property Value
    Type Description
    Vector3

    Methods

    View Source

    GetStreamValue(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

    View Source

    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

    View Source

    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

    View Source

    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

    View Source

    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

    View Source

    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

    View Source

    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

    View Source

    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

    View Source

    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

    View Source

    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

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX