Table of Contents

Class M2CameraCataPlus

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

A camera (Cata+): the FOV becomes a spline track at the record tail.

public class M2CameraCataPlus : M2Camera, IDisposable
Inheritance
M2CameraCataPlus
Implements
Inherited Members

Constructors

M2CameraCataPlus()

public M2CameraCataPlus()

M2CameraCataPlus(M2CameraCataPlus)

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

public M2CameraCataPlus(M2CameraCataPlus other)

Parameters

other M2CameraCataPlus

Properties

FarClip

Far clip distance.

public float FarClip { get; set; }

Property Value

float

Fov

Diagonal field of view, radians.

public M2TrackSplineFloatWotlkPlus Fov { get; set; }

Property Value

M2TrackSplineFloatWotlkPlus

NearClip

Near clip distance.

public float NearClip { get; set; }

Property Value

float

PositionBase

Pivot point the position splines are relative to.

public C3Vector PositionBase { get; set; }

Property Value

C3Vector

Positions

Spline track moving the camera, one spline per segment.

public M2TrackSplineC3VectorWotlkPlus Positions { get; set; }

Property Value

M2TrackSplineC3VectorWotlkPlus

Roll

0 .. 2*pi.

public M2TrackSplineFloatWotlkPlus Roll { get; set; }

Property Value

M2TrackSplineFloatWotlkPlus

TargetPosition

Spline track moving the look-at target, one spline per segment.

public M2TrackSplineC3VectorWotlkPlus TargetPosition { get; set; }

Property Value

M2TrackSplineC3VectorWotlkPlus

TargetPositionBase

Pivot point the target splines are relative to.

public C3Vector TargetPositionBase { get; set; }

Property Value

C3Vector

Type

0 portrait, 1 character info, -1 flyby.

public uint Type { get; set; }

Property Value

uint

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 override void Dispose()

Operators

operator ==(M2CameraCataPlus?, M2CameraCataPlus?)

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

Parameters

l M2CameraCataPlus
r M2CameraCataPlus

Returns

bool

operator !=(M2CameraCataPlus?, M2CameraCataPlus?)

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

Parameters

l M2CameraCataPlus
r M2CameraCataPlus

Returns

bool