Class UniversalRenderPipelineAsset
Inheritance
UniversalRenderPipelineAsset
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Syntax
[ExcludeFromPreset]
public class UniversalRenderPipelineAsset : RenderPipelineAsset, ISerializationCallbackReceiver
Fields
AdditionalLightsDefaultShadowResolutionTierHigh
Declaration
public static readonly int AdditionalLightsDefaultShadowResolutionTierHigh
Field Value
AdditionalLightsDefaultShadowResolutionTierLow
Declaration
public static readonly int AdditionalLightsDefaultShadowResolutionTierLow
Field Value
AdditionalLightsDefaultShadowResolutionTierMedium
Declaration
public static readonly int AdditionalLightsDefaultShadowResolutionTierMedium
Field Value
k_MaxLutSize
Declaration
public const int k_MaxLutSize = 65
Field Value
k_MinLutSize
Declaration
public const int k_MinLutSize = 16
Field Value
Properties
additionalLightsRenderingMode
Declaration
public LightRenderingMode additionalLightsRenderingMode { get; }
Property Value
additionalLightsShadowmapResolution
Declaration
public int additionalLightsShadowmapResolution { get; }
Property Value
additionalLightsShadowResolutionTierHigh
Returns the additional light shadow resolution defined for tier "High" in the UniversalRenderPipeline asset.
Declaration
public int additionalLightsShadowResolutionTierHigh { get; }
Property Value
additionalLightsShadowResolutionTierLow
Returns the additional light shadow resolution defined for tier "Low" in the UniversalRenderPipeline asset.
Declaration
public int additionalLightsShadowResolutionTierLow { get; }
Property Value
additionalLightsShadowResolutionTierMedium
Returns the additional light shadow resolution defined for tier "Medium" in the UniversalRenderPipeline asset.
Declaration
public int additionalLightsShadowResolutionTierMedium { get; }
Property Value
cascade2Split
Declaration
public float cascade2Split { get; }
Property Value
Type |
Description |
Single |
Returns a Float with the split value.
|
cascade3Split
Returns the split values.
Declaration
public Vector2 cascade3Split { get; }
Property Value
Type |
Description |
Vector2 |
Returns a Vector2 with the split values.
|
cascade4Split
Returns the split values.
Declaration
public Vector3 cascade4Split { get; }
Property Value
Type |
Description |
Vector3 |
Returns a Vector3 with the split values.
|
cascadeBorder
Last cascade fade distance in percentage.
Declaration
public float cascadeBorder { get; set; }
Property Value
colorGradingLutSize
Declaration
public int colorGradingLutSize { get; set; }
Property Value
colorGradingMode
Declaration
public ColorGradingMode colorGradingMode { get; set; }
Property Value
decalMaterial
Declaration
public Material decalMaterial { get; }
Property Value
default2DMaskMaterial
Returns the default sprite mask material for the 2D renderer.
Declaration
public override Material default2DMaskMaterial { get; }
Property Value
Type |
Description |
Material |
Returns the material containing the default shader pass for sprite mask in the 2D renderer.
|
Overrides
UnityEngine.Rendering.RenderPipelineAsset.default2DMaskMaterial
default2DMaterial
Returns the default material for the 2D renderer.
Declaration
public override Material default2DMaterial { get; }
Property Value
Type |
Description |
Material |
Returns the material containing the default lit and unlit shader passes for sprites in the 2D renderer.
|
Overrides
defaultLineMaterial
Declaration
public override Material defaultLineMaterial { get; }
Property Value
Overrides
defaultMaterial
Declaration
public override Material defaultMaterial { get; }
Property Value
Overrides
defaultParticleMaterial
Declaration
public override Material defaultParticleMaterial { get; }
Property Value
Overrides
defaultShader
Declaration
public override Shader defaultShader { get; }
Property Value
Overrides
defaultTerrainMaterial
Declaration
public override Material defaultTerrainMaterial { get; }
Property Value
Overrides
defaultUIETC1SupportedMaterial
Declaration
public override Material defaultUIETC1SupportedMaterial { get; }
Property Value
Overrides
defaultUIMaterial
Declaration
public override Material defaultUIMaterial { get; }
Property Value
Overrides
defaultUIOverdrawMaterial
Declaration
public override Material defaultUIOverdrawMaterial { get; }
Property Value
Overrides
lightLayerMaskNames
Names used for display of light layers.
Declaration
public string[] lightLayerMaskNames { get; }
Property Value
mainLightRenderingMode
Declaration
public LightRenderingMode mainLightRenderingMode { get; }
Property Value
mainLightShadowmapResolution
Declaration
public int mainLightShadowmapResolution { get; }
Property Value
maxAdditionalLightsCount
Declaration
public int maxAdditionalLightsCount { get; set; }
Property Value
msaaSampleCount
Declaration
public int msaaSampleCount { get; set; }
Property Value
opaqueDownsampling
Declaration
public Downsampling opaqueDownsampling { get; }
Property Value
prefixedRenderingLayerMaskNames
Names used for display of rendering layer masks with prefix.
Declaration
public override string[] prefixedRenderingLayerMaskNames { get; }
Property Value
Overrides
UnityEngine.Rendering.RenderPipelineAsset.prefixedRenderingLayerMaskNames
reflectionProbeBlending
Declaration
public bool reflectionProbeBlending { get; }
Property Value
reflectionProbeBoxProjection
Declaration
public bool reflectionProbeBoxProjection { get; }
Property Value
renderingLayerMaskNames
Names used for display of rendering layer masks.
Declaration
public override string[] renderingLayerMaskNames { get; }
Property Value
Overrides
renderScale
Declaration
public float renderScale { get; set; }
Property Value
scriptableRenderer
Returns the default renderer being used by this pipeline.
Declaration
public ScriptableRenderer scriptableRenderer { get; }
Property Value
shaderVariantLogLevel
Declaration
public ShaderVariantLogLevel shaderVariantLogLevel { get; set; }
Property Value
shadowCascadeCount
Returns the number of shadow cascades.
Declaration
public int shadowCascadeCount { get; set; }
Property Value
shadowDepthBias
The Shadow Depth Bias, controls the offset of the lit pixels.
Declaration
public float shadowDepthBias { get; set; }
Property Value
shadowDistance
Controls the maximum distance at which shadows are visible.
Declaration
public float shadowDistance { get; set; }
Property Value
shadowNormalBias
Controls the distance at which the shadow casting surfaces are shrunk along the surface normal.
Declaration
public float shadowNormalBias { get; set; }
Property Value
storeActionsOptimization
Returns the active store action optimization value.
Declaration
public StoreActionsOptimization storeActionsOptimization { get; set; }
Property Value
supportsAdditionalLightShadows
Declaration
public bool supportsAdditionalLightShadows { get; }
Property Value
supportsCameraDepthTexture
Declaration
public bool supportsCameraDepthTexture { get; set; }
Property Value
supportsCameraOpaqueTexture
Declaration
public bool supportsCameraOpaqueTexture { get; set; }
Property Value
supportsDynamicBatching
Declaration
public bool supportsDynamicBatching { get; set; }
Property Value
supportsHDR
Declaration
public bool supportsHDR { get; set; }
Property Value
supportsLightLayers
Returns true if the Render Pipeline Asset supports light layers, false otherwise.
Declaration
public bool supportsLightLayers { get; }
Property Value
supportsMainLightShadows
Declaration
public bool supportsMainLightShadows { get; }
Property Value
supportsMixedLighting
Declaration
public bool supportsMixedLighting { get; }
Property Value
supportsSoftShadows
Supports Soft Shadows controls the Soft Shadows.
Declaration
public bool supportsSoftShadows { get; }
Property Value
supportsTerrainHoles
Declaration
public bool supportsTerrainHoles { get; }
Property Value
Set to true to allow Adaptive performance to modify graphics quality settings during runtime.
Only applicable when Adaptive performance package is available.
Declaration
public bool useAdaptivePerformance { get; set; }
Property Value
useFastSRGBLinearConversion
Returns true if fast approximation functions are used when converting between the sRGB and Linear color spaces, false otherwise.
Declaration
public bool useFastSRGBLinearConversion { get; }
Property Value
useSRPBatcher
Declaration
public bool useSRPBatcher { get; set; }
Property Value
volumeFrameworkUpdateMode
Returns the selected update mode for volumes.
Declaration
public VolumeFrameworkUpdateMode volumeFrameworkUpdateMode { get; }
Property Value
Methods
CreatePipeline()
Declaration
protected override RenderPipeline CreatePipeline()
Returns
Overrides
GetRenderer(Int32)
Returns a renderer from the current pipeline asset
Declaration
public ScriptableRenderer GetRenderer(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
Index to the renderer. If invalid index is passed, the default renderer is returned instead.
|
Returns
LoadBuiltinRendererData(RendererType)
Declaration
public ScriptableRendererData LoadBuiltinRendererData(RendererType type = RendererType.UniversalRenderer)
Parameters
Returns
OnAfterDeserialize()
Declaration
public void OnAfterDeserialize()
Implements
OnBeforeSerialize()
Declaration
public void OnBeforeSerialize()
Implements
OnDisable()
Declaration
protected override void OnDisable()
Overrides
OnValidate()
Declaration
protected override void OnValidate()
Overrides