Class BuiltinScreenFadeBackend
Implements
Inherited Members
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.destroyCancellationToken
MonoBehaviour.didStart
MonoBehaviour.didAwake
MonoBehaviour.runInEditMode
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentsInChildren<T>()
Component.GetComponents<T>()
Component.GetComponentIndex()
Component.CompareTag(TagHandle)
Component.gameObject
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DestroyObject(Object)
Object.ToString()
Object.hideFlags
Namespace: Xareus.Unity.ScreenFade
Assembly: Xareus.Unity.Libraries.dll
Syntax
[RequireComponent(typeof(Camera))]
public class BuiltinScreenFadeBackend : MonoBehaviour, IScreenFadeBackend
Properties
CurrentColorValue
Declaration
public Color CurrentColorValue { get; }
Property Value
| Type | Description |
|---|---|
| Color |
CurrentFadeValue
Declaration
public float CurrentFadeValue { get; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
Create(Camera)
Declaration
public static IScreenFadeBackend Create(Camera camera)
Parameters
| Type | Name | Description |
|---|---|---|
| Camera | camera |
Returns
| Type | Description |
|---|---|
| IScreenFadeBackend |
Initialize(ScreenFadeEffect, Camera)
Declaration
public void Initialize(ScreenFadeEffect owner, Camera targetCamera)
Parameters
| Type | Name | Description |
|---|---|---|
| ScreenFadeEffect | owner | |
| Camera | targetCamera |
Render(RenderTexture, RenderTexture)
Declaration
public void Render(RenderTexture src, RenderTexture dst)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTexture | src | |
| RenderTexture | dst |
SetFade(float)
Declaration
public void SetFade(float fadeValue)
Parameters
| Type | Name | Description |
|---|---|---|
| float | fadeValue |
SetFade(float, Color)
Declaration
public void SetFade(float fadeValue, Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| float | fadeValue | |
| Color | color |