Class M2CameraVanillaToTbc
A camera, pre-Cata layout: a static diagonal FOV plus position/target/roll spline tracks.
public class M2CameraVanillaToTbc : M2Camera, IDisposable
- Inheritance
-
M2CameraVanillaToTbc
- Implements
- Inherited Members
Constructors
M2CameraVanillaToTbc()
public M2CameraVanillaToTbc()
M2CameraVanillaToTbc(M2CameraVanillaToTbc)
Copy-construct: a deep copy of other (the C++ copy constructor).
public M2CameraVanillaToTbc(M2CameraVanillaToTbc other)
Parameters
otherM2CameraVanillaToTbc
Properties
FarClip
Far clip distance.
public float FarClip { get; set; }
Property Value
Fov
Diagonal field of view, radians.
public float Fov { get; set; }
Property Value
NearClip
Near clip distance.
public float NearClip { get; set; }
Property Value
PositionBase
Pivot point the position splines are relative to.
public C3Vector PositionBase { get; set; }
Property Value
Positions
Spline track moving the camera, one spline per segment.
public M2TrackSplineC3VectorVanillaToTbc Positions { get; set; }
Property Value
Roll
0 .. 2*pi.
public M2TrackSplineFloatVanillaToTbc Roll { get; set; }
Property Value
TargetPosition
Spline track moving the look-at target, one spline per segment.
public M2TrackSplineC3VectorVanillaToTbc TargetPosition { get; set; }
Property Value
TargetPositionBase
Pivot point the target splines are relative to.
public C3Vector TargetPositionBase { get; set; }
Property Value
Type
0 portrait, 1 character info, -1 flyby.
public uint Type { 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 override void Dispose()
Operators
operator ==(M2CameraVanillaToTbc?, M2CameraVanillaToTbc?)
public static bool operator ==(M2CameraVanillaToTbc? l, M2CameraVanillaToTbc? r)
Parameters
Returns
operator !=(M2CameraVanillaToTbc?, M2CameraVanillaToTbc?)
public static bool operator !=(M2CameraVanillaToTbc? l, M2CameraVanillaToTbc? r)