Class SwFlowv
A legacy liquid flow vector (MCLQ, 40 bytes): a sphere of influence, a direction and velocity/amplitude/frequency.
public class SwFlowv : IDisposable
- Inheritance
-
SwFlowv
- Implements
- Inherited Members
Constructors
SwFlowv()
public SwFlowv()
SwFlowv(SwFlowv)
Copy-construct: a deep copy of other (the C++ copy constructor).
public SwFlowv(SwFlowv other)
Parameters
otherSwFlowv
SwFlowv(CAaSphere, C3Vector, float, float, float)
public SwFlowv(CAaSphere sphere, C3Vector direction, float velocity, float amplitude, float frequency)
Parameters
Properties
Amplitude
The flow amplitude.
public float Amplitude { get; set; }
Property Value
Direction
The flow direction.
public C3Vector Direction { get; set; }
Property Value
Frequency
The flow frequency.
public float Frequency { get; set; }
Property Value
Sphere
The sphere of influence.
public CAaSphere Sphere { get; set; }
Property Value
Velocity
The flow velocity.
public float Velocity { 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 ==(SwFlowv?, SwFlowv?)
public static bool operator ==(SwFlowv? l, SwFlowv? r)
Parameters
Returns
operator !=(SwFlowv?, SwFlowv?)
public static bool operator !=(SwFlowv? l, SwFlowv? r)