Table of Contents

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
GLMonoBehaviour
ProceduralMaskedPostProcessRunner
Inherited Members
GLMonoBehaviour.FindObjectsOfInterface<TInterface>()
GLMonoBehaviour.FindRequiredObjectOfType<T>()
GLMonoBehaviour.GetRequiredComponent<T>()
GLMonoBehaviour.GetRequiredComponentInChildren<T>()
MonoBehaviour.IsInvoking()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.runInEditMode
Component.GetComponent<T>()
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentsInParent<T>()
Component.transform
Component.gameObject
Component.tag
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object)
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.name
Object.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

sourceTexture RenderTexture
destinationTexture RenderTexture