Class PolySpatialSettings
Class containing the PolySpatial settings asset.
Implements
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
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
When enabled, if there is no Volume Camera after scene load, one will be automatically created using the default settings. Disable this to be able to create the initial Volume Camera from script.
Declaration
public bool AutoCreateVolumeCamera { get; set; }
Property Value
Type | Description |
---|---|
bool |
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 |
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 |
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 |