Table of Contents

Class M2SplineKeyFloat

Namespace
WoWLib.Formats.M2.Root.Record
Assembly
WoWLib.dll

A spline keyframe: the value plus incoming/outgoing tangents (bezier/hermite camera tracks).

public class M2SplineKeyFloat : IDisposable
Inheritance
M2SplineKeyFloat
Implements
Inherited Members

Constructors

M2SplineKeyFloat()

public M2SplineKeyFloat()

M2SplineKeyFloat(float, float, float)

public M2SplineKeyFloat(float value, float inTan, float outTan)

Parameters

value float
inTan float
outTan float

M2SplineKeyFloat(M2SplineKeyFloat)

Copy-construct: a deep copy of other (the C++ copy constructor).

public M2SplineKeyFloat(M2SplineKeyFloat other)

Parameters

other M2SplineKeyFloat

Properties

InTan

The incoming tangent.

public float InTan { get; set; }

Property Value

float

OutTan

The outgoing tangent.

public float OutTan { get; set; }

Property Value

float

Value

The keyframe value.

public float Value { 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()

Operators

operator ==(M2SplineKeyFloat?, M2SplineKeyFloat?)

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

Parameters

l M2SplineKeyFloat
r M2SplineKeyFloat

Returns

bool

operator !=(M2SplineKeyFloat?, M2SplineKeyFloat?)

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

Parameters

l M2SplineKeyFloat
r M2SplineKeyFloat

Returns

bool