Class M2ExtendedParticleSimple
An EXPT record: z-source, color and alpha multipliers for one particle emitter.
public class M2ExtendedParticleSimple : IDisposable
- Inheritance
-
M2ExtendedParticleSimple
- Implements
- Inherited Members
Constructors
M2ExtendedParticleSimple()
public M2ExtendedParticleSimple()
M2ExtendedParticleSimple(float, float, float)
public M2ExtendedParticleSimple(float zSource, float colorMult, float alphaMult)
Parameters
M2ExtendedParticleSimple(M2ExtendedParticleSimple)
Copy-construct: a deep copy of other (the C++ copy constructor).
public M2ExtendedParticleSimple(M2ExtendedParticleSimple other)
Parameters
otherM2ExtendedParticleSimple
Properties
AlphaMult
Multiplied into the particle's opacity.
public float AlphaMult { get; set; }
Property Value
ColorMult
Multiplied into the particle's diffuse color.
public float ColorMult { get; set; }
Property Value
ZSource
If > 0, initial velocity points from (0, 0, z_source) to the spawn point.
public float ZSource { get; set; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Reference-identity hash (the C++ type has no hash to mirror).
public override int GetHashCode()
Returns
Operators
operator ==(M2ExtendedParticleSimple?, M2ExtendedParticleSimple?)
public static bool operator ==(M2ExtendedParticleSimple? l, M2ExtendedParticleSimple? r)
Parameters
Returns
operator !=(M2ExtendedParticleSimple?, M2ExtendedParticleSimple?)
public static bool operator !=(M2ExtendedParticleSimple? l, M2ExtendedParticleSimple? r)