Search Results for

    Show / Hide Table of Contents

    Class ParticleExtensions

    Extension methods of the particle system.

    Inheritance
    object
    ParticleExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.Extensions
    Assembly: Evergine.Framework.dll
    Syntax
    public static class ParticleExtensions

    Methods

    ToDirective(EmitRandomized)

    Converts the source emitrandomized enum to a directive string.

    Declaration
    public static string ToDirective(this EmitRandomized emitRandomized)
    Parameters
    Type Name Description
    EmitRandomized emitRandomized

    The source emission randomized.

    Returns
    Type Description
    string

    The directive string.

    ToDirective(EntityEmitterType)

    Converts the source emissionmode to a directive string.

    Declaration
    public static string ToDirective(this EntityEmitterType sourceEmission)
    Parameters
    Type Name Description
    EntityEmitterType sourceEmission

    The source emission type.

    Returns
    Type Description
    string

    The directive string.

    ToDirective(ParameterMode, string)

    Converts the parameter mode to a directive string.

    Declaration
    public static string ToDirective(this ParameterMode parameterMode, string label)
    Parameters
    Type Name Description
    ParameterMode parameterMode

    The parameter mode.

    string label

    The parameter label.

    Returns
    Type Description
    string

    The directive string.

    ToDirective(RandomPrecissionEnum)

    Converts the source random precission. to a directive string.

    Declaration
    public static string ToDirective(this RandomPrecissionEnum sourceRandom)
    Parameters
    Type Name Description
    RandomPrecissionEnum sourceRandom

    The source random precission.

    Returns
    Type Description
    string

    The directive string.

    ToDirective(SimulationSpaceMode)

    Converts the simulation space mode to a directive string.

    Declaration
    public static string ToDirective(this SimulationSpaceMode simulationSpace)
    Parameters
    Type Name Description
    SimulationSpaceMode simulationSpace

    The simulation space mode.

    Returns
    Type Description
    string

    The directive string.

    ToMeshTypeDirective(EntityMeshData)

    Converts the entity mesh data in a directive according its mesh type..

    Declaration
    public static string ToMeshTypeDirective(this EntityMeshData meshData)
    Parameters
    Type Name Description
    EntityMeshData meshData

    The source mesh data.

    Returns
    Type Description
    string

    The directive string.

    In This Article
    Back to top
    Generated by DocFX