Class CompositorNode
The base class of all nodes in VisualCompositor
Implements
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.VisualCompositor
Assembly: Unity.VisualCompositor.dll
Syntax
public abstract class CompositorNode : ScriptableObject, ISerializationCallbackReceiver
Properties
DefaultTitle
The default title of the node.
Declaration
public virtual string DefaultTitle { get; }
Property Value
Type | Description |
---|---|
string |
WidgetBackgroundColor
The background color of the header widget of the node.
Declaration
public virtual Color WidgetBackgroundColor { get; }
Property Value
Type | Description |
---|---|
Color |
Methods
BeforePreRenderCamera(Camera)
Declaration
protected void BeforePreRenderCamera(Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera |
OnAfterDeserialize()
Implement this method to receive a callback after Unity deserializes your object.
Declaration
public void OnAfterDeserialize()
OnAfterDeserializeInternalV()
Implement this method to do internal processes after Unity deserializes your object.
Declaration
protected virtual void OnAfterDeserializeInternalV()
OnBeforeSerialize()
Implement this method to receive a callback before Unity serializes your object.
Declaration
public void OnBeforeSerialize()
OnBeforeSerializeInternalV()
Implement this method to do internal processes before Unity serializes your object.
Declaration
protected virtual void OnBeforeSerializeInternalV()
OnDestroyInternalV()
Implement this method to execute code when the CompositorNode is about to be destroyed.
Declaration
protected virtual void OnDestroyInternalV()
OnEnableInternalV()
Declaration
protected virtual void OnEnableInternalV()
Render()
Executes the rendering of the node.
Declaration
public abstract void Render()