Class CompositionLayersRuntimeSettings
Settings class for composition layer emulation in standalone.
Inheritance
Inherited Members
Namespace: Unity.XR.CompositionLayers
Assembly: Unity.XR.CompositionLayers.dll
Syntax
[ScriptableSettingsPath("Assets/CompositionLayers/UserSettings")]
public class CompositionLayersRuntimeSettings : ScriptableSettings<CompositionLayersRuntimeSettings>
Properties
BackgroundColor
Gets the background color of the splash screen.
Declaration
public Color BackgroundColor { get; }
Property Value
Type | Description |
---|---|
Color |
CylinderLayerData
Gets the data for the cylinder layer.
Declaration
public CylinderLayerData CylinderLayerData { get; }
Property Value
Type | Description |
---|---|
Cylinder |
EmulationInStandalone
Gets a value indicating whether emulation of composition layers in standalone builds is enabled when no XR provider is active or no headset is connected.
Declaration
public bool EmulationInStandalone { get; }
Property Value
Type | Description |
---|---|
bool |
EnableSplashScreen
Gets a value indicating whether the splash screen is enabled.
Declaration
public bool EnableSplashScreen { get; }
Property Value
Type | Description |
---|---|
bool |
FadeInDuration
Gets the duration of the fade-in effect.
Declaration
public float FadeInDuration { get; }
Property Value
Type | Description |
---|---|
float |
FadeOutDuration
Gets the duration of the fade-out effect.
Declaration
public float FadeOutDuration { get; }
Property Value
Type | Description |
---|---|
float |
FollowDistance
Gets the distance from the camera to the splash screen.
Declaration
public float FollowDistance { get; }
Property Value
Type | Description |
---|---|
float |
FollowSpeed
Gets the speed at which the layer moves towards the follow position.
Declaration
public float FollowSpeed { get; }
Property Value
Type | Description |
---|---|
float |
LayerType
Gets the type of layer used for the splash screen.
Declaration
public CompositionLayersRuntimeSettings.Layer LayerType { get; }
Property Value
Type | Description |
---|---|
Composition |
LockToHorizon
Gets a value indicating whether the splash screen is locked to the horizon.
Declaration
public bool LockToHorizon { get; }
Property Value
Type | Description |
---|---|
bool |
QuadLayerData
Gets the data for the quad layer.
Declaration
public QuadLayerData QuadLayerData { get; }
Property Value
Type | Description |
---|---|
Quad |
SplashDuration
Gets the duration of the splash screen.
Declaration
public float SplashDuration { get; }
Property Value
Type | Description |
---|---|
float |
SplashImage
Gets the image to display on the splash screen.
Declaration
public Texture SplashImage { get; }
Property Value
Type | Description |
---|---|
Texture |