Class FixedLengthScenario
A scenario that runs for a fixed number of frames during each iteration
Inheritance
FixedLengthScenario
Inherited Members
Namespace: UnityEngine.Perception.Randomization.Scenarios
Syntax
public class FixedLengthScenario : PerceptionScenario<FixedLengthScenario.Constants>
Properties
isIterationComplete
Returns whether the current scenario iteration has completed
Declaration
protected override bool isIterationComplete { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
isScenarioComplete
Returns whether the scenario has completed
Declaration
protected sealed override bool isScenarioComplete { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
progressPercentage
The proportion of the scenario iterations that have been completed expressed as a percentage.
Declaration
public float progressPercentage { get; }
Property Value
Type | Description |
---|---|
Single |
Methods
LoadConfigurationAsset()
Declaration
protected override void LoadConfigurationAsset()
Overrides
OnAwake()
Declaration
protected override void OnAwake()
Overrides
OnUpdate()
OnUpdate is called every frame while the scenario is playing
Declaration
protected override void OnUpdate()