Class EffectEmitter
- Namespace
- SharpPluginLoader.Core
- Assembly
- SharpPluginLoader.Core.dll
Represents an instance of uMhEpv. This class has the capability to emit effects
public class EffectEmitter : Unit
- Inheritance
-
EffectEmitter
- Inherited Members
Constructors
EffectEmitter()
public EffectEmitter()
EffectEmitter(nint)
public EffectEmitter(nint instance)
Parameters
instance
nint
Properties
ConstraintModel
The model that this effect emitter is constrained to.
public Model? ConstraintModel { get; set; }
Property Value
EffectProvider
The EPV that this effect emitter is using. Updating this value will automatically call Kill() and update the Epvsp property.
public EffectProvider? EffectProvider { get; set; }
Property Value
ElementId
The EPV Element Id that this effect emitter is using.
public ref int ElementId { get; }
Property Value
Epvsp
The EPVSP that this effect emitter is using. This is populated automatically when you set the EPV. (EffectProvider)
public Resource? Epvsp { get; }
Property Value
GroupId
The EPV Group Id that this effect emitter is using.
public ref int GroupId { get; }
Property Value
Interval
The interval between each effect emission, if the effect is looped. (See PlayType)
public ref float Interval { get; }
Property Value
IsPlaying
Whether this effect emitter is playing. Do not modify this value, use the Start() and Finish() methods instead.
public bool IsPlaying { get; }
Property Value
PlayType
How the effect referenced by this emitter is played. Mostly unknown, 2 means the effect is looped infinitely.
public ref int PlayType { get; }
Property Value
Methods
Finish()
Ends the emitter.
public void Finish()
Kill()
Kills the emitter and all effects associated with it immediately.
public void Kill()
Start()
Starts the emitter.
public void Start()