![]() | FuncEffectorT1, T2, TResult Class |
Namespace: DigitalRune.Particles.Effectors
The FuncEffectorT1, T2, TResult type exposes the following members.
Name | Description | |
---|---|---|
![]() | FuncEffectorT1, T2, TResult | Initializes a new instance of the FuncEffectorT1, T2, TResult class |
Name | Description | |
---|---|---|
![]() | BeginUpdate |
Called when the particle system begins its update.
(Inherited from ParticleEffector.) |
![]() | Clone |
Creates a new ParticleEffector that is a clone of the current instance.
(Inherited from ParticleEffector.) |
![]() | CloneCore |
Makes the instance a clone of the specified ParticleEffector.
(Overrides ParticleEffectorCloneCore(ParticleEffector).) |
![]() | CreateInstanceCore |
When implemented in a derived class, creates a new instance of the
ParticleEffector derived class.
(Overrides ParticleEffectorCreateInstanceCore.) |
![]() | EndUpdate |
Called when the particle system finishes its update.
(Inherited from ParticleEffector.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize |
Initializes this particle effector.
(Inherited from ParticleEffector.) |
![]() | InitializeParticles |
Initializes new particles.
(Inherited from ParticleEffector.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnBeginUpdate |
Called when BeginUpdate(TimeSpan) was called.
(Overrides ParticleEffectorOnBeginUpdate(TimeSpan).) |
![]() | OnEndUpdate |
Called when BeginUpdate(TimeSpan) was called.
(Inherited from ParticleEffector.) |
![]() | OnInitialize |
Called when Initialize was called.
(Inherited from ParticleEffector.) |
![]() | OnInitializeParticles |
Called when InitializeParticles(Int32, Int32, Object) was called.
(Inherited from ParticleEffector.) |
![]() | OnRequeryParameters |
Called when RequeryParameters was called.
(Overrides ParticleEffectorOnRequeryParameters.) |
![]() | OnUninitialize |
Called when Uninitialize was called.
(Overrides ParticleEffectorOnUninitialize.) |
![]() | OnUpdateParticles |
Called when UpdateParticles(TimeSpan, Int32, Int32) was called.
(Overrides ParticleEffectorOnUpdateParticles(TimeSpan, Int32, Int32).) |
![]() | RequeryParameters |
Requeries the particle parameters.
(Inherited from ParticleEffector.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Uninitialize |
Uninitializes this particle effector.
(Inherited from ParticleEffector.) |
![]() | UpdateParticles |
Updates particles.
(Inherited from ParticleEffector.) |
Name | Description | |
---|---|---|
![]() | Enabled |
Gets or sets a value indicating whether this ParticleEffector is enabled.
(Inherited from ParticleEffector.) |
![]() | Func |
Gets or sets the delegate function.
|
![]() | InputParameter1 |
Gets or sets the name of the first input parameter.
(A varying or uniform parameter of type T1.)
|
![]() | InputParameter2 |
Gets or sets the name of the second input parameter.
(A varying or uniform parameter of type T2.)
|
![]() | Name |
Gets the name of this particle effector.
(Inherited from ParticleEffector.) |
![]() | OutputParameter |
Gets or sets the name of the output parameter.
(A varying or uniform parameter of type TResult.)
|
![]() | ParticleSystem |
Gets or sets the particle system.
(Inherited from ParticleEffector.) |
This effector executes a given delegate Func to compute the particle parameter value. The delegate function takes a two parameters (see InputParameter1 and InputParameter2) and the function result is stored in another parameter (see OutputParameter).
Please note: Since this effector executes a delegate call for each particle, it is less efficient than other particle effectors.
Used particle parameters:
Particle Parameter | Description |
---|---|
InputParameter1 | A T1 parameter that provides the first function parameter. |
InputParameter2 | A T2 parameter that provides the second function parameter. |
OutputParameter | A TResult parameter that stores the result of the function. |