Class HDRPCameraBinder
Camera parameter binding helper class.
Namespace: UnityEngine.VFX.Utility
Syntax
public class HDRPCameraBinder : VFXBinderBase
Fields
AdditionalData
Camera HDRP additional data.
Declaration
public HDAdditionalCameraData AdditionalData
Field Value
| Type | Description |
|---|---|
| HDAdditionalCameraData |
Methods
IsValid(VisualEffect)
Returns true if the Visual Effect and the configuration of the binder are valid to perform the binding.
Declaration
public override bool IsValid(VisualEffect component)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualEffect | component | Component to be tested. |
Returns
| Type | Description |
|---|---|
| Boolean | True if the Visual Effect and the configuration of the binder are valid to perform the binding. |
OnDisable()
OnDisable implementation.
Declaration
protected override void OnDisable()
OnEnable()
OnEnable implementation.
Declaration
protected override void OnEnable()
SetCameraProperty(String)
Set a camera property.
Declaration
public void SetCameraProperty(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | Property name. |
ToString()
To string implementation.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String | String containing the binder information. |
UpdateBinding(VisualEffect)
Update bindings for a visual effect.
Declaration
public override void UpdateBinding(VisualEffect component)
Parameters
| Type | Name | Description |
|---|---|---|
| VisualEffect | component | Component to update. |