MeatMotion

MotionDebugger

Toggle motion tracking and creation stack capture. Read tracking entries through Items.

Namespace
MeatMotion
Assembly
MeatMotion

Jump to members

public static class MotionDebugger
MotionDebugger.cs · L12

Members

Enabled

Enable or disable tracking of newly scheduled motions.

public static bool Enabled;

EnableStackTrace

Choose whether tracking captures creation stack traces.

public static bool EnableStackTrace;

Items

Read the currently tracked entries as a read-only list.

public static IReadOnlyList<TrackingState> Items { get; }

AddTracking

Add an active handle to tracking unless it is already tracked.

public static void AddTracking(MotionHandle motionHandle, IMotionScheduler scheduler, int skipFrames = 3)
Parameters
motionHandle
MotionHandle Handle to control or link.
scheduler
IMotionScheduler Scheduler that determines where the motion is registered and updated.
skipFrames = 3
int Number of leading stack frames to omit when recording a trace.

Clear

Clear tracking records. Control motion playback through its handle.

public static void Clear()

Related types