Class CaptureTrajectoryRecorder<T>
Inheritance
System.Object
CaptureTrajectoryRecorder<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()
Assembly: Recolude.Core.dll
Syntax
public abstract class CaptureTrajectoryRecorder<T> : ICaptureRecorder<Capture<T>>
Type Parameters
Constructors
CaptureTrajectoryRecorder(String, Single)
Declaration
public CaptureTrajectoryRecorder(string name, float minimumDelta)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Single |
minimumDelta |
|
Fields
name
Declaration
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
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
NewCapture(Single, T)
Declaration
protected abstract Capture<T> NewCapture(float time, T value)
Parameters
Type |
Name |
Description |
System.Single |
time |
|
T |
value |
|
Returns
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
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
Trajectory(Capture<T>, Capture<T>)
Declaration
protected abstract T Trajectory(Capture<T> a, Capture<T> b)
Parameters
Returns
Implements