Show / Hide Table of Contents

Class CaptureTrajectoryRecorder<T>

Inheritance
System.Object
CaptureTrajectoryRecorder<T>
PositionRecorder
RotationRecorder
Implements
ICaptureRecorder<Capture<T>>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Recolude.Core.Record
Assembly: Recolude.Core.dll
Syntax
public abstract class CaptureTrajectoryRecorder<T> : ICaptureRecorder<Capture<T>>
Type Parameters
Name Description
T

Constructors

CaptureTrajectoryRecorder(String, Single)

Declaration
public CaptureTrajectoryRecorder(string name, float minimumDelta)
Parameters
Type Name Description
System.String name
System.Single minimumDelta

Fields

name

Declaration
protected string name
Field Value
Type Description
System.String

Properties

Name

Declaration
public string Name { get; }
Property Value
Type Description
System.String

Methods

Approximate(T, T, Single)

Declaration
protected abstract bool Approximate(T a, T b, float minimumDelta)
Parameters
Type Name Description
T a
T b
System.Single minimumDelta
Returns
Type Description
System.Boolean

Interpolate(T, T, Single)

Declaration
protected abstract T Interpolate(T start, T end, float progress)
Parameters
Type Name Description
T start
T end
System.Single progress
Returns
Type Description
T

InterpolateFilterAndShift(Single, Single, IEnumerable<Vector2>)

Declaration
protected Capture<T>[] InterpolateFilterAndShift(float startTime, float endTime, IEnumerable<Vector2> pauseSlices)
Parameters
Type Name Description
System.Single startTime
System.Single endTime
System.Collections.Generic.IEnumerable<UnityEngine.Vector2> pauseSlices
Returns
Type Description
Capture<T>[]

NewCapture(Single, T)

Declaration
protected abstract Capture<T> NewCapture(float time, T value)
Parameters
Type Name Description
System.Single time
T value
Returns
Type Description
Capture<T>

Record(Capture<T>)

Declaration
public void Record(Capture<T> capture)
Parameters
Type Name Description
Capture<T> capture

Record(ICapture)

Declaration
public void Record(ICapture capture)
Parameters
Type Name Description
ICapture capture

ToCollection(Single, Single, IEnumerable<Vector2>)

Declaration
public abstract ICaptureCollection<Capture<T>> ToCollection(float startTime, float endTime, IEnumerable<Vector2> pauseSlices)
Parameters
Type Name Description
System.Single startTime
System.Single endTime
System.Collections.Generic.IEnumerable<UnityEngine.Vector2> pauseSlices
Returns
Type Description
ICaptureCollection<Capture<T>>

Trajectory(Capture<T>, Capture<T>)

Declaration
protected abstract T Trajectory(Capture<T> a, Capture<T> b)
Parameters
Type Name Description
Capture<T> a
Capture<T> b
Returns
Type Description
T

Implements

ICaptureRecorder<T>
Back to top Generated by DocFX