Class PolySpatialSettings
Class containing the PolySpatial settings asset.
Implements
Inherited Members
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.PolySpatial
Assembly: Unity.PolySpatial.dll
Syntax
public class PolySpatialSettings : ScriptableObject, ISerializationCallbackReceiver
Properties
AutoCreateVolumeCamera
Declaration
public bool AutoCreateVolumeCamera { get; set; }
Property Value
Type | Description |
---|---|
bool |
DefaultVolumeCameraConfiguration
Declaration
[Obsolete("Renamed to DefaultVolumeCameraWindowConfiguration (UnityUpgradable) -> DefaultVolumeCameraWindowConfiguration")]
public VolumeCameraWindowConfiguration DefaultVolumeCameraConfiguration { get; set; }
Property Value
Type | Description |
---|---|
VolumeCameraWindowConfiguration |
DefaultVolumeCameraWindowConfiguration
Default Volume Camera camera configuration, if none is specified on a Volume Camera component. If null, unbounded is assumed.
Declaration
public VolumeCameraWindowConfiguration DefaultVolumeCameraWindowConfiguration { get; set; }
Property Value
Type | Description |
---|---|
VolumeCameraWindowConfiguration |
EnableFallbackShaderConversion
Convert unsupported shaders at runtime to a best guess.
Declaration
public bool EnableFallbackShaderConversion { get; }
Property Value
Type | Description |
---|---|
bool |
EnableRuntimeValidation
Run tests at runtime to validate setup.
Declaration
public bool EnableRuntimeValidation { get; }
Property Value
Type | Description |
---|---|
bool |
PackageVersion
The version of the PolySpatial package
Declaration
public string PackageVersion { get; }
Property Value
Type | Description |
---|---|
string |
RuntimeValidationFrameCount
The frame count from launch before running the runtime validation.
Declaration
public int RuntimeValidationFrameCount { get; }
Property Value
Type | Description |
---|---|
int |
ShowWarningsForShaderGraphsInPackages
Declaration
public bool ShowWarningsForShaderGraphsInPackages { get; }
Property Value
Type | Description |
---|---|
bool |
instance
Gets a reference for an instance of the PolySpatial settings asset in the project.
Declaration
public static PolySpatialSettings instance { get; }
Property Value
Type | Description |
---|---|
PolySpatialSettings |