Class RuntimeConfiguratorActions
Methods for changing the Configurator scene at runtime.
Namespace: Unity.Industrial.Forma.FormaUIBase
Syntax
public static class RuntimeConfiguratorActions : object
Properties
Configurator
Declaration
public static Configurator Configurator { get; }
Property Value
Type | Description |
---|---|
Configurator |
Methods
ApplyFeature(Feature)
Apply this feature to the current product and change its configuration.
Declaration
public static void ApplyFeature(Feature feature)
Parameters
Type | Name | Description |
---|---|---|
Feature | feature | Feature to be applied. |
ChangeCamera(StagingElement)
Change the active camera.
Declaration
public static void ChangeCamera(StagingElement newCamera)
Parameters
Type | Name | Description |
---|---|---|
StagingElement | newCamera | Camera to activate |
ChangeContext(String, String)
Change the current product's context.
Declaration
public static void ChangeContext(string contextKey, string contextOption)
Parameters
Type | Name | Description |
---|---|---|
String | contextKey | Context key |
String | contextOption | Context option |
ChangeEnvironment(StagingElement)
Change the current Environment
Declaration
public static bool ChangeEnvironment(StagingElement newEnvironment)
Parameters
Type | Name | Description |
---|---|---|
StagingElement | newEnvironment | Environment to activate |
Returns
Type | Description |
---|---|
Boolean |
ChangeProduct(Int32)
Change the active product.
Declaration
public static void ChangeProduct(int productIndex)
Parameters
Type | Name | Description |
---|---|---|
Int32 | productIndex | The index in the product repository of the product to load. |