Class RenderObjects
The class for the render objects renderer feature.
Implements
Inherited Members
ScriptableObject.CreateInstance<T>()
Object.GetHashCode()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Experimental.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
[ExcludeFromPreset]
[Tooltip("Render Objects simplifies the injection of additional render passes by exposing a selection of commonly used settings.")]
public class RenderObjects : ScriptableRendererFeature, IDisposable
Fields
settings
The settings used for the Render Objects renderer feature.
Declaration
public RenderObjects.RenderObjectsSettings settings
Field Value
Type | Description |
---|---|
RenderObjects.RenderObjectsSettings |
Methods
AddRenderPasses(ScriptableRenderer, ref RenderingData)
Injects one or multiple ScriptableRenderPass
in the renderer.
Declaration
public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData)
Parameters
Type | Name | Description |
---|---|---|
ScriptableRenderer | renderer | Renderer used for adding render passes. |
RenderingData | renderingData | Rendering state. Use this to setup render passes. |
Overrides
Create()
Initializes this feature's resources. This is called every time serialization happens.
Declaration
public override void Create()