Search Results for

    Show / Hide Table of Contents

    Class EdgeShapeEmitter

    Box particle emitter.

    Inheritance
    object
    BaseShapeEmitter
    BaseShapeEmitter<ShapeEdgeDescription>
    EdgeShapeEmitter
    Inherited Members
    BaseShapeEmitter<ShapeEdgeDescription>.Description
    BaseShapeEmitter<ShapeEdgeDescription>.ShapeType
    BaseShapeEmitter<ShapeEdgeDescription>.randomizeDirectionMode
    BaseShapeEmitter<ShapeEdgeDescription>.RandomizeDirection
    BaseShapeEmitter<ShapeEdgeDescription>.VelocityOffset
    BaseShapeEmitter<ShapeEdgeDescription>.BindShape(ComputeEmitterSimulator)
    BaseShapeEmitter<ShapeEdgeDescription>.UnbindShape(ComputeEmitterSimulator)
    BaseShapeEmitter<ShapeEdgeDescription>.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 EdgeShapeEmitter : BaseShapeEmitter<ShapeEdgeDescription>

    Constructors

    EdgeShapeEmitter(ShapeEdgeDescription)

    Initializes a new instance of the EdgeShapeEmitter class.

    Declaration
    public EdgeShapeEmitter(ShapeEdgeDescription description)
    Parameters
    Type Name Description
    ShapeEdgeDescription description

    A description of the shape.

    Properties

    FromCenter

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

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

    Length

    Gets or sets the edge length.

    Declaration
    public float Length { 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 initial position.

    Vector3 initDirection

    The initial direction.

    Overrides
    BaseShapeEmitter<ShapeEdgeDescription>.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