Search Results for

    Show / Hide Table of Contents

    Class CircleShapeEmitter

    Circle particle emitter.

    Inheritance
    object
    BaseShapeEmitter
    BaseShapeEmitter<ShapeCircleDescription>
    CircleShapeEmitter
    Inherited Members
    BaseShapeEmitter<ShapeCircleDescription>.Description
    BaseShapeEmitter<ShapeCircleDescription>.ShapeType
    BaseShapeEmitter<ShapeCircleDescription>.randomizeDirectionMode
    BaseShapeEmitter<ShapeCircleDescription>.RandomizeDirection
    BaseShapeEmitter<ShapeCircleDescription>.VelocityOffset
    BaseShapeEmitter<ShapeCircleDescription>.BindShape(ComputeEmitterSimulator)
    BaseShapeEmitter<ShapeCircleDescription>.UnbindShape(ComputeEmitterSimulator)
    BaseShapeEmitter<ShapeCircleDescription>.RefreshShapeParameters(CommandBuffer, EmitterSimulator)
    BaseShapeEmitter.PropertyChanged
    BaseShapeEmitter.NeedsEntitySource
    BaseShapeEmitter.CreateFromDescription(ShapeDescription)
    BaseShapeEmitter.RaisePropertyChanged(string)
    Namespace: Evergine.Framework.Particles.Shape
    Assembly: Evergine.Framework.dll
    Syntax
    public class CircleShapeEmitter : BaseShapeEmitter<ShapeCircleDescription>

    Constructors

    CircleShapeEmitter(ShapeCircleDescription)

    Initializes a new instance of the CircleShapeEmitter class.

    Declaration
    public CircleShapeEmitter(ShapeCircleDescription description)
    Parameters
    Type Name Description
    ShapeCircleDescription description

    The shape description.

    Properties

    FromCenter

    Gets or sets a value indicating whether particles are emitted with the sphere center.

    Declaration
    [RenderProperty(CustomPropertyName = "From Center", Tooltip = "The particle direction will be the opposite vector to the center. Otherwise they will have the Y vector velocity.")]
    public bool FromCenter { get; set; }
    Property Value
    Type Description
    bool

    FromCircumference

    Gets or sets a value indicating whether particles are emitted from the surface.

    Declaration
    [RenderProperty(CustomPropertyName = "From Circumference", Tooltip = "All the particles are emitted in the circumference.")]
    public bool FromCircumference { get; set; }
    Property Value
    Type Description
    bool

    Radius

    Gets or sets the box emitter size.

    Declaration
    public float Radius { get; set; }
    Property Value
    Type Description
    float

    Methods

    EmitParticleCPU(CPUEmitterSimulator, ref uint, ref Vector3, out Vector3)

    CPU particle emission.

    Declaration
    protected override void EmitParticleCPU(CPUEmitterSimulator cpuEmitter, ref uint seed, ref Vector3 position, out Vector3 initDirection)
    Parameters
    Type Name Description
    CPUEmitterSimulator cpuEmitter

    The cpu emitter simulator.

    uint seed

    The seed.

    Vector3 position

    The init position.

    Vector3 initDirection

    The init direction.

    Overrides
    BaseShapeEmitter<ShapeCircleDescription>.EmitParticleCPU(CPUEmitterSimulator, ref uint, ref Vector3, out Vector3)

    Extension Methods

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