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<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
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
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 |
EnableGPUMeshTransfer
Transfer meshes via GPU when possible.
Declaration
public bool EnableGPUMeshTransfer { get; }
Property Value
| Type | Description |
|---|---|
| bool |
EnableGPUTextureTransfer
Transfer textures via GPU when possible.
Declaration
public bool EnableGPUTextureTransfer { 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 |