Describes the current state of the MLComponent model. For more information, see the MLComponent Scripting guide.
//@input Component.MLComponent mlComponentif(script.mlComponent.state == MachineLearning.ModelState.Idle) { script.mlComponent.runScheduled(true, MachineLearning.FrameTiming.Update, MachineLearning.FrameTiming.OnRender);} Copy
//@input Component.MLComponent mlComponentif(script.mlComponent.state == MachineLearning.ModelState.Idle) { script.mlComponent.runScheduled(true, MachineLearning.FrameTiming.Update, MachineLearning.FrameTiming.OnRender);}
Model is built and ready to run
Model is loading
Model is not ready to run
Model is running
Describes the current state of the MLComponent model. For more information, see the MLComponent Scripting guide.
Example