Class RequireDepthNormals
- Namespace
- Gamelogic.Fx.BuiltIn.PostProcessing
- Assembly
- Gamelogic.Fx.BuiltIn.dll
Add this script to a camera to ensure that it generates a depth normals texture. Only relevant when using the Built-in Render Pipeline.
[ExecuteInEditMode]
[RequireComponent(typeof(Camera))]
public sealed class RequireDepthNormals : MonoBehaviour
- Inheritance
-
RequireDepthNormals
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.runInEditModeComponent.GetComponent<T>()Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentsInParent<T>()Component.transformComponent.gameObjectComponent.tagObject.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.nameObject.hideFlags
Remarks
This texture is used by some effects, such as SimpleOutlinePostProcess.
Methods
OnEnable()
public void OnEnable()