Class CollectionPlaybackController<T>
Inheritance
System.Object
CollectionPlaybackController<T>
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.Playback
Assembly: Recolude.Core.dll
Syntax
public abstract class CollectionPlaybackController<T> : IPlaybackController where T : ICapture
Type Parameters
Name | Description |
---|---|
T |
Constructors
CollectionPlaybackController(T[])
Declaration
public CollectionPlaybackController(T[] captures)
Parameters
Type | Name | Description |
---|---|---|
T[] | captures |
Fields
captures
Declaration
protected T[] captures
Field Value
Type | Description |
---|---|
T[] |
Methods
CalculateDirection(Single)
Declaration
protected static int CalculateDirection(float deltaTime)
Parameters
Type | Name | Description |
---|---|---|
System.Single | deltaTime |
Returns
Type | Description |
---|---|
System.Int32 |
CaptureIndex(Single, Int32, Int32)
Declaration
protected int CaptureIndex(float time, int direction, int lastCaptureIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Single | time | |
System.Int32 | direction | |
System.Int32 | lastCaptureIndex |
Returns
Type | Description |
---|---|
System.Int32 |
MoveTo(MovementType, Single)
Declaration
public void MoveTo(MovementType movementType, float newTime)
Parameters
Type | Name | Description |
---|---|---|
MovementType | movementType | |
System.Single | newTime |
MoveTo(TimeMovementDetails)
Declaration
public abstract void MoveTo(TimeMovementDetails movementDetails)
Parameters
Type | Name | Description |
---|---|---|
TimeMovementDetails | movementDetails |
OnPause()
Declaration
public abstract void OnPause()
OnPlay()
Declaration
public abstract void OnPlay()
OnStop()
Declaration
public abstract void OnStop()