Class MixtureNode
Inheritance
System.Object
MixtureNode
Assembly: Mixture.Runtime.dll
Syntax
public abstract class MixtureNode : BaseNode
Fields
|
Improve this Doc
View Source
isPinned
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
isPreviewCollapsed
Declaration
[SerializeField]
public bool isPreviewCollapsed
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
previewEV100
Declaration
[SerializeField]
public float previewEV100
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
previewMip
Declaration
[SerializeField]
public float previewMip
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
previewMode
Declaration
[SerializeField]
public PreviewChannels previewMode
Field Value
|
Improve this Doc
View Source
previewSlice
Declaration
public float previewSlice
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
previewVisible
Declaration
[SerializeField]
public bool previewVisible
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
rtSettings
Declaration
public MixtureRTSettings rtSettings
Field Value
|
Improve this Doc
View Source
temporaryMaterials
Declaration
protected Dictionary<string, Material> temporaryMaterials
Field Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, UnityEngine.Material> |
|
Properties
|
Improve this Doc
View Source
defaultPreviewChannels
Declaration
public virtual PreviewChannels defaultPreviewChannels { get; }
Property Value
|
Improve this Doc
View Source
defaultRTSettings
Declaration
protected virtual MixtureRTSettings defaultRTSettings { get; }
Property Value
|
Improve this Doc
View Source
graph
Declaration
protected MixtureGraph graph { get; }
Property Value
|
Improve this Doc
View Source
hasPreview
Declaration
public virtual bool hasPreview { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
hasSettings
Declaration
public virtual bool hasSettings { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
needsInspector
Declaration
public override bool needsInspector { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
nodeWidth
Declaration
public virtual float nodeWidth { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
previewTexture
Declaration
public virtual Texture previewTexture { get; }
Property Value
Type |
Description |
UnityEngine.Texture |
|
|
Improve this Doc
View Source
recorder
Declaration
protected Recorder recorder { get; }
Property Value
Type |
Description |
UnityEngine.Profiling.Recorder |
|
|
Improve this Doc
View Source
showControlsOnHover
Declaration
public override bool showControlsOnHover { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
showDefaultInspector
Declaration
public virtual bool showDefaultInspector { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
showPreviewExposure
Declaration
public virtual bool showPreviewExposure { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
supportedDimensions
Declaration
public virtual List<OutputDimension> supportedDimensions { get; }
Property Value
Methods
|
Improve this Doc
View Source
AssignMaterialPropertiesFromEdges(List<SerializableEdge>, Material)
Declaration
protected void AssignMaterialPropertiesFromEdges(List<SerializableEdge> edges, Material material)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<SerializableEdge> |
edges |
|
UnityEngine.Material |
material |
|
|
Improve this Doc
View Source
Disable()
Declaration
protected override void Disable()
|
Improve this Doc
View Source
GetDefaultMaterial(Material)
Declaration
public Material GetDefaultMaterial(Material mat)
Parameters
Type |
Name |
Description |
UnityEngine.Material |
mat |
|
Returns
Type |
Description |
UnityEngine.Material |
|
|
Improve this Doc
View Source
GetMaterialPortDatas(Material)
Declaration
protected IEnumerable<PortData> GetMaterialPortDatas(Material material)
Parameters
Type |
Name |
Description |
UnityEngine.Material |
material |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<PortData> |
|
|
Improve this Doc
View Source
GetPropertyType(Shader, Int32)
Declaration
protected Type GetPropertyType(Shader shader, int shaderPropertyIndex)
Parameters
Type |
Name |
Description |
UnityEngine.Shader |
shader |
|
System.Int32 |
shaderPropertyIndex |
|
Returns
Type |
Description |
System.Type |
|
|
Improve this Doc
View Source
GetTempMaterial(String)
Declaration
public Material GetTempMaterial(string shaderName)
Parameters
Type |
Name |
Description |
System.String |
shaderName |
|
Returns
Type |
Description |
UnityEngine.Material |
|
|
Improve this Doc
View Source
GetTempTextureDimension()
Declaration
protected virtual TextureDimension GetTempTextureDimension()
Returns
Type |
Description |
UnityEngine.Rendering.TextureDimension |
|
|
Improve this Doc
View Source
OnNodeCreated()
Declaration
public override void OnNodeCreated()
|
Improve this Doc
View Source
OnProcess(CommandBuffer)
Declaration
public void OnProcess(CommandBuffer cmd)
Parameters
Type |
Name |
Description |
UnityEngine.Rendering.CommandBuffer |
cmd |
|
|
Improve this Doc
View Source
OnSettingsChanged()
Declaration
public void OnSettingsChanged()
|
Improve this Doc
View Source
Process()
Declaration
protected override sealed void Process()
|
Improve this Doc
View Source
ProcessNode(CommandBuffer)
Declaration
protected virtual bool ProcessNode(CommandBuffer cmd)
Parameters
Type |
Name |
Description |
UnityEngine.Rendering.CommandBuffer |
cmd |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveObjectFromGraph(Object)
Declaration
protected void RemoveObjectFromGraph(Object obj)
Parameters
Type |
Name |
Description |
UnityEngine.Object |
obj |
|
|
Improve this Doc
View Source
ResetMaterialPropertyToDefault(Material, String)
Declaration
public void ResetMaterialPropertyToDefault(Material mat, string propName)
Parameters
Type |
Name |
Description |
UnityEngine.Material |
mat |
|
System.String |
propName |
|
|
Improve this Doc
View Source
UpdateTempRenderTexture(ref CustomRenderTexture, Boolean, Boolean, CustomRenderTextureUpdateMode, Boolean)
Declaration
protected bool UpdateTempRenderTexture(ref CustomRenderTexture target, bool hasMips = false, bool autoGenerateMips = false, CustomRenderTextureUpdateMode updateMode = CustomRenderTextureUpdateMode.OnDemand, bool depthBuffer = false)
Parameters
Type |
Name |
Description |
UnityEngine.CustomRenderTexture |
target |
|
System.Boolean |
hasMips |
|
System.Boolean |
autoGenerateMips |
|
UnityEngine.CustomRenderTextureUpdateMode |
updateMode |
|
System.Boolean |
depthBuffer |
|
Returns
Type |
Description |
System.Boolean |
|
Events
|
Improve this Doc
View Source
afterProcessCleanup
Declaration
public event Action afterProcessCleanup
Event Type
Type |
Description |
System.Action |
|
|
Improve this Doc
View Source
beforeProcessSetup
Declaration
public event Action beforeProcessSetup
Event Type
Type |
Description |
System.Action |
|
|
Improve this Doc
View Source
onSettingsChanged
Declaration
public event Action onSettingsChanged
Event Type
Type |
Description |
System.Action |
|