Search Results for

    Show / Hide Table of Contents

    Class ParticlesManager

    Scene manager for the particle systems.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    SceneManager
    UpdatableSceneManager
    ParticlesManager
    Implements
    IDependencyObject
    Inherited Members
    SceneManager.Managers
    SceneManager.Scene
    SceneManager.OnLoaded()
    SceneManager.OnActivated()
    SceneManager.Start()
    SceneManager.OnDeactivated()
    SceneManager.OnDestroy()
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.ShouldBeActivated
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Managers
    Assembly: Evergine.Framework.dll
    Syntax
    public class ParticlesManager : UpdatableSceneManager, IDependencyObject

    Fields

    IndexBufferShortSize

    The size of the shared index buffer.

    Declaration
    public static readonly uint IndexBufferShortSize
    Field Value
    Type Description
    uint

    particlesLimit

    The maximum number of particles the system can handle.

    Declaration
    public uint particlesLimit
    Field Value
    Type Description
    uint

    Properties

    ComputeCommandQueue

    Gets the compute command queue.

    Declaration
    public CommandQueue ComputeCommandQueue { get; }
    Property Value
    Type Description
    CommandQueue

    Forces

    Gets the particle forces in this scene.

    Declaration
    public IEnumerable<BaseForce> Forces { get; }
    Property Value
    Type Description
    IEnumerable<BaseForce>

    IsComputeEnabled

    Gets a value indicating whether the application can use compute shaders.

    Declaration
    public bool IsComputeEnabled { get; }
    Property Value
    Type Description
    bool

    NoiseSize

    Gets or sets the noise 3D texture size, Texture3D(size, size, size).

    Declaration
    public int NoiseSize { get; set; }
    Property Value
    Type Description
    int

    ParticlesLimit

    Gets or sets the noise texture width.

    Declaration
    public uint ParticlesLimit { get; set; }
    Property Value
    Type Description
    uint

    RandomMatrix

    Gets the random matrix.

    Declaration
    public Vector3[,,] RandomMatrix { get; }
    Property Value
    Type Description
    Vector3[,,]

    RandomTexture

    Gets the noise texture.

    Declaration
    public Texture RandomTexture { get; }
    Property Value
    Type Description
    Texture

    SharedIndexBuffer

    Gets the particle index buffer.

    Declaration
    public IndexBuffer SharedIndexBuffer { get; }
    Property Value
    Type Description
    IndexBuffer

    SharedIndexShortBuffer

    Gets the particle's index buffer using short as the index.

    Declaration
    public IndexBuffer SharedIndexShortBuffer { get; }
    Property Value
    Type Description
    IndexBuffer

    Methods

    OnAttached()

    Invoked when the object is attached to the system.

    Declaration
    protected override bool OnAttached()
    Returns
    Type Description
    bool

    True if everything is OK.

    Overrides
    SceneManager.OnAttached()

    OnDetach()

    Invoked when the object is detached.

    Declaration
    protected override void OnDetach()
    Overrides
    SceneManager.OnDetach()

    Update(TimeSpan)

    Updates this manager.

    Declaration
    public override void Update(TimeSpan gameTime)
    Parameters
    Type Name Description
    TimeSpan gameTime

    The game time.

    Overrides
    UpdatableSceneManager.Update(TimeSpan)

    Events

    NoiseChanged

    Event is called when the noise texture has been updated.

    Declaration
    public event EventHandler NoiseChanged
    Event Type
    Type Description
    EventHandler

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX