Class ProceduralMaskedPostProcessRunner
- Namespace
- Gamelogic.Fx.BuiltIn.PostProcessing
- Assembly
- Gamelogic.Fx.BuiltIn.dll
Runs all post-processes found in children of a given root on the Camera this script is attached to, applying a procedurally computed mask (HalfPlane or Ellipse) instead of a texture mask.
[ExecuteInEditMode]
public sealed class ProceduralMaskedPostProcessRunner : GLMonoBehaviour
- Inheritance
-
GLMonoBehaviourProceduralMaskedPostProcessRunner
- Inherited Members
-
GLMonoBehaviour.FindObjectsOfInterface<TInterface>()GLMonoBehaviour.FindRequiredObjectOfType<T>()GLMonoBehaviour.GetRequiredComponent<T>()GLMonoBehaviour.GetRequiredComponentInChildren<T>()MonoBehaviour.IsInvoking()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.runInEditModeComponent.GetComponent<T>()Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentsInParent<T>()Component.GetComponentIndex()Component.transformComponent.gameObjectComponent.tagObject.InstantiateAsync<T>(T)Object.InstantiateAsync<T>(T, Transform)Object.InstantiateAsync<T>(T, Vector3, Quaternion)Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)Object.InstantiateAsync<T>(T, InstantiateParameters)Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters)Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object)Object.Instantiate<T>(T, InstantiateParameters)Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)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
All spatial parameters (center, radii, softness) are expressed
in aspect-corrected normalised screen-height units, so a radius of 0.5 always reaches half the screen height
regardless of the display's aspect ratio.
For the texture-masked equivalent, see MaskedPostProcessRunner.
Methods
OnDisable()
public void OnDisable()
OnEnable()
public void OnEnable()
OnRenderImage(RenderTexture, RenderTexture)
public void OnRenderImage(RenderTexture sourceTexture, RenderTexture destinationTexture)
Parameters
sourceTextureRenderTexturedestinationTextureRenderTexture