Class AlgorithmManager.AlgorithmInfo
Represents a single particle algorithm and contains all information needed to create particles for it.
Inheritance
object
AlgorithmManager.AlgorithmInfo
Namespace: AS2
Assembly: .dll
Syntax
private class AlgorithmManager.AlgorithmInfo
Constructors
| Edit this page View SourceAlgorithmInfo(string, Type, ConstructorInfo, MethodInfo, string, Tuple<StatusInfoAttribute, MethodInfo>[])
Declaration
public AlgorithmInfo(string name, Type type, ConstructorInfo ctor, MethodInfo initMethod, string generationMethod, Tuple<StatusInfoAttribute, MethodInfo>[] statusInfoMethods)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
Type | type | |
ConstructorInfo | ctor | |
MethodInfo | initMethod | |
string | generationMethod | |
Tuple<StatusInfoAttribute, MethodInfo>[] | statusInfoMethods |
Fields
| Edit this page View Sourcector
Reference to the algorithm's constructor. This must be the constructor that gets a single parameter of type Particle.
Declaration
public ConstructorInfo ctor
Field Value
Type | Description |
---|---|
ConstructorInfo |
generationMethod
The full name of the algorithm's generator class. This is a class that inherits from InitializationMethod and that is used to initialize the particle system. Has a default value if the algorithm does not specify a method.
Declaration
public string generationMethod
Field Value
Type | Description |
---|---|
string |
initMethod
Reference to the algorithm's Init
method.
May be null
if the algorithm does not implement
this method.
Declaration
public MethodInfo initMethod
Field Value
Type | Description |
---|---|
MethodInfo |
name
The string ID of the algorithm.
Declaration
public string name
Field Value
Type | Description |
---|---|
string |
statusInfoMethods
The attributes and method references of the status info methods defined by the algorithm.
Declaration
public Tuple<StatusInfoAttribute, MethodInfo>[] statusInfoMethods
Field Value
Type | Description |
---|---|
Tuple<StatusInfoAttribute, MethodInfo>[] |
type
The type of the algorithm class.
Declaration
public Type type
Field Value
Type | Description |
---|---|
Type |