Class SessionStateSwitchUnit
A switch unit that breaks down an ARSession
Namespace: UnityEngine .XR.ARFoundation.VisualScripting
Assembly: Unity.XR.ARFoundation.VisualScripting.dll
Syntax
public sealed class SessionStateSwitchUnit : Unit
Properties
checkingAvailability
Flow output if AR Session state is Checking
Declaration
public ControlOutput checkingAvailability { get; }
Property Value
Type | Description |
---|---|
Control |
flowIn
Flow input.
Declaration
public ControlInput flowIn { get; }
Property Value
Type | Description |
---|---|
Control |
installing
Flow output if AR Session state is Installing.
Declaration
public ControlOutput installing { get; }
Property Value
Type | Description |
---|---|
Control |
needsInstall
Flow output if AR Session state is Needs
Declaration
public ControlOutput needsInstall { get; }
Property Value
Type | Description |
---|---|
Control |
none
Flow output if AR Session state is None.
Declaration
public ControlOutput none { get; }
Property Value
Type | Description |
---|---|
Control |
ready
Flow output if AR Session state is Ready.
Declaration
public ControlOutput ready { get; }
Property Value
Type | Description |
---|---|
Control |
sessionInitializing
Flow output if AR Session state is Session
Declaration
public ControlOutput sessionInitializing { get; }
Property Value
Type | Description |
---|---|
Control |
sessionStateIn
ARSession
Declaration
public ValueInput sessionStateIn { get; }
Property Value
Type | Description |
---|---|
Value |
sessionTracking
Flow output if AR Session state is Session
Declaration
public ControlOutput sessionTracking { get; }
Property Value
Type | Description |
---|---|
Control |
unsupported
Flow output if AR Session state is Unsupported.
Declaration
public ControlOutput unsupported { get; }
Property Value
Type | Description |
---|---|
Control |
Methods
Definition()
Unit definition.
Declaration
protected override void Definition()