

Sets the particle system's live particles at normalized time of the recorded frames. SetParticleSystemAsRecording (float normalizedTime) If multithreading is enabled this operation will run asynchronously. Sets the particle system's live particles at the current position in playback (using the playhead) of this Playground Recorder. Trims (removes) the specified frames inside of normalized leftTime to rightTime. TrimInner (float leftTime, float rightTime) Trims (remove) the specified frames outside of normalized leftTime to rightTime. This will linearly interpolate between the closest recorded frames of the passed in time (normalized between 0f - 1f). Scrub to specified time in particle recording. Loads frames from the Recorder Data asynchronously. If multithreading is enabled then the serialization will be asynchronous. Serializes the current recorded frames into the Recorder Data. Stops the playback and recording of this Playground Recorder and serializes data into Recorder Data. Stops the playback and recording of this Playground Recorder. Pauses the playback of this Playground Recorder. Starts the playback of this Playground Recorder with specified starting point, playback speed and if looping should occur. Play (float fromNormalizedTime, float speed, bool repeat) Starts the playback of this Playground Recorder with specified playback speed. Starts the playback of this Playground Recorder. More.Ĭlears out the current recorded frames. Use FrameCount() to determine how many frames you currently have. This can be useful if you want to add frames into the recording that shouldn't be placed last. Inserts a recorded frame into the specified frame index. InsertOneFrame (int frame, FrameType frameType=FrameType.Middle) This can be useful if you want exact control of when keyframes should be created.

This overload takes a recording length and keyframe interval as parameter. Starts a recording with specified length or until StopRecording() is called. StartRecording (float recordingLength, float keyframeInterval) This overload takes a keyframe interval as parameter. Starts a recording until StopRecording() is called. This overload will by default use the previously set keyframe interval during recording. Returns when the recording started using Time.realtimeSinceStartup. Gets the keyframe interval at specified frame. Gets the normalized time at specified recorded frame. Example: Passing in normalizedTime of 0.5 and total FrameCount is 3, the floating frame would return 1.5. Gets the floating frame number at normalized time. GetFloatingFrameAtTime (float normalizedTime) This is always a floored value to the closest frame of the normalizedTime. More.ĭetermines whether this Playground Recorder is in playback mode (_isReplaying can be in a stopped state but _inPlayback can still be true). More.ĭetermines if this Playground Recorder is currently replaying recorded data. More.ĭetermines if this Playground Recorder is recording. Determines if this Playground Recorder has recorded frames.
