Table of Contents

Class SwFlowv

Namespace
WoWLib.Formats.ADT.Chunks
Assembly
WoWLib.dll

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

other SwFlowv

SwFlowv(CAaSphere, C3Vector, float, float, float)

public SwFlowv(CAaSphere sphere, C3Vector direction, float velocity, float amplitude, float frequency)

Parameters

sphere CAaSphere
direction C3Vector
velocity float
amplitude float
frequency float

Properties

Amplitude

The flow amplitude.

public float Amplitude { get; set; }

Property Value

float

Direction

The flow direction.

public C3Vector Direction { get; set; }

Property Value

C3Vector

Frequency

The flow frequency.

public float Frequency { get; set; }

Property Value

float

Sphere

The sphere of influence.

public CAaSphere Sphere { get; set; }

Property Value

CAaSphere

Velocity

The flow velocity.

public float Velocity { get; set; }

Property Value

float

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

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Reference-identity hash (the C++ type has no hash to mirror).

public override int GetHashCode()

Returns

int

Operators

operator ==(SwFlowv?, SwFlowv?)

public static bool operator ==(SwFlowv? l, SwFlowv? r)

Parameters

l SwFlowv
r SwFlowv

Returns

bool

operator !=(SwFlowv?, SwFlowv?)

public static bool operator !=(SwFlowv? l, SwFlowv? r)

Parameters

l SwFlowv
r SwFlowv

Returns

bool