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
    object
    ParticleEmitterProxy

    Methods

    View Source

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

    View Source

    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

    View Source

    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

    View Source

    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

    View Source

    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.

    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