MachineLearning.FrameTiming
Lens Studio v3.0+
Outer Class: MachineLearning
Description
Timing options for when MLComponent should start or stop running. Used with MLComponent.runScheduled()
. For more information, see the MLComponent Scripting guide.
Enum Value | Description |
---|---|
MachineLearning.FrameTiming.None |
Only valid as an end timing. There is no exact time specified when MLComponent should finish its run. |
MachineLearning.FrameTiming.Update |
Run during MLComponent update, before script update. |
MachineLearning.FrameTiming.LateUpdate |
Run in MLComponent LateUpdate, after all scripts update, but before they get LateUpdate. |
MachineLearning.FrameTiming.OnRender |
Run at a specific point during frame rendering. |
Examples
//@input Component.MLComponent mlComponent
script.mlComponent.runScheduled(true, MachineLearning.FrameTiming.Update, MachineLearning.FrameTiming.OnRender);
Still Looking for help?
Visit Support