InputRecordingBuffer Class

Definition

Container used to efficiently store a sequence of input animation keyframes while recording

public ref class InputRecordingBuffer : System::Collections::Generic::IEnumerable<Microsoft::MixedReality::Toolkit::Input::InputRecordingBuffer::Keyframe ^>
public class InputRecordingBuffer : System.Collections.Generic.IEnumerable<Microsoft.MixedReality.Toolkit.Input.InputRecordingBuffer.Keyframe>
type InputRecordingBuffer = class
    interface seq<InputRecordingBuffer.Keyframe>
    interface IEnumerable
Public Class InputRecordingBuffer
Implements IEnumerable(Of InputRecordingBuffer.Keyframe)
Inheritance
InputRecordingBuffer
Implements

Constructors

InputRecordingBuffer()

Default constructor

Properties

StartTime

The time of the first keyframe in the buffer

Methods

Clear()

Removes all keyframes from the buffer

GetEnumerator()

Returns a sequence of all keyframes in the buffer

NewKeyframe(Single)

Creates a new, empty keyframe with a given time at the end of the buffer

RemoveBeforeTime(Single)

Removes all keyframes before a given time

SetCameraPose(MixedRealityPose)

Sets the camera pose to be stored in the newest keyframe

SetGazeRay(Ray)

Sets the eye gaze ray to be stored in the newest keyframe

SetHandState(Handedness, Boolean, Boolean)

Sets the state of a given hand to be stored in the newest keyframe

SetJointPose(Handedness, TrackedHandJoint, MixedRealityPose)

Sets the pose of a given joint to be stored in the newest keyframe

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Extension Methods

DisposeElements<TElement>(IEnumerable<TElement>)

Disposes of all non-null elements in a collection.

ToReadOnlyCollection<TElement>(IEnumerable<TElement>)

Creates a read-only copy of an existing collection.

MaxOrDefault<T>(IEnumerable<T>, IComparer<T>)

Returns the max element based on the provided comparer or the default value when the list is empty

Applies to