Describes the current state of the MLComponent model. For more information, see the MLComponent Scripting guide.
Used By: MLComponent#state
//@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
An error was encountered while loading the model.
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.
See
Used By: MLComponent#state
Example