Class RotationRecorder
Implements
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.CollectionRecorders
Assembly: Recolude.Core.dll
Syntax
public class RotationRecorder : CaptureTrajectoryRecorder<Vector3>, ICaptureRecorder<Capture<Vector3>>
Constructors
RotationRecorder(Single)
Declaration
public RotationRecorder(float minimumDelta)
Parameters
Type | Name | Description |
---|---|---|
System.Single | minimumDelta |
RotationRecorder(String, Single)
Declaration
public RotationRecorder(string name, float minimumDelta)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Single | minimumDelta |
Methods
Approximate(Vector3, Vector3, Single)
Declaration
protected override bool Approximate(Vector3 a, Vector3 b, float minimumDelta)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3 | a | |
UnityEngine.Vector3 | b | |
System.Single | minimumDelta |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Recolude.Core.Record.CaptureTrajectoryRecorder<UnityEngine.Vector3>.Approximate(UnityEngine.Vector3, UnityEngine.Vector3, System.Single)
Interpolate(Vector3, Vector3, Single)
Declaration
protected override Vector3 Interpolate(Vector3 start, Vector3 end, float progress)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3 | start | |
UnityEngine.Vector3 | end | |
System.Single | progress |
Returns
Type | Description |
---|---|
UnityEngine.Vector3 |
Overrides
Recolude.Core.Record.CaptureTrajectoryRecorder<UnityEngine.Vector3>.Interpolate(UnityEngine.Vector3, UnityEngine.Vector3, System.Single)
NewCapture(Single, Vector3)
Declaration
protected override Capture<Vector3> NewCapture(float time, Vector3 value)
Parameters
Type | Name | Description |
---|---|---|
System.Single | time | |
UnityEngine.Vector3 | value |
Returns
Type | Description |
---|---|
Capture<UnityEngine.Vector3> |
Overrides
Recolude.Core.Record.CaptureTrajectoryRecorder<UnityEngine.Vector3>.NewCapture(System.Single, UnityEngine.Vector3)
ToCollection(Single, Single, IEnumerable<Vector2>)
Declaration
public override ICaptureCollection<Capture<Vector3>> 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<UnityEngine.Vector3>> |
Overrides
Recolude.Core.Record.CaptureTrajectoryRecorder<UnityEngine.Vector3>.ToCollection(System.Single, System.Single, System.Collections.Generic.IEnumerable<UnityEngine.Vector2>)
Trajectory(Capture<Vector3>, Capture<Vector3>)
Declaration
protected override Vector3 Trajectory(Capture<Vector3> a, Capture<Vector3> b)
Parameters
Type | Name | Description |
---|---|---|
Capture<UnityEngine.Vector3> | a | |
Capture<UnityEngine.Vector3> | b |
Returns
Type | Description |
---|---|
UnityEngine.Vector3 |
Overrides
Recolude.Core.Record.CaptureTrajectoryRecorder<UnityEngine.Vector3>.Trajectory(Recolude.Core.Capture<UnityEngine.Vector3>, Recolude.Core.Capture<UnityEngine.Vector3>)