Show / Hide Table of Contents

Class Distance

Inheritance
System.Object
MixtureNode
ComputeShaderNode
Distance
Inherited Members
ComputeShaderNode.computeShader
ComputeShaderNode.tempRenderTexture
ComputeShaderNode.previewTexturePropertyName
ComputeShaderNode.showOpenButton
ComputeShaderNode.tempRenderTextureHasMipmaps
ComputeShaderNode.tempRenderTextureHasDepthBuffer
ComputeShaderNode.LoadComputeShader(String)
ComputeShaderNode.canProcess
ComputeShaderNode.ComputeIsValid()
ComputeShaderNode.DispatchCompute(CommandBuffer, Int32, Int32, Int32, Int32)
ComputeShaderNode.DispatchCompute(CommandBuffer, ComputeShader, Int32, Int32, Int32, Int32)
ComputeShaderNode.DispatchComputePreview(CommandBuffer, Int32)
ComputeShaderNode.DispatchComputePreview(CommandBuffer, ComputeShader, Int32)
ComputeShaderNode.ClearBuffer(CommandBuffer, ComputeBuffer, Int32, Int32)
MixtureNode.graph
MixtureNode.rtSettings
MixtureNode.defaultRTSettings
MixtureNode.nodeWidth
MixtureNode.hasSettings
MixtureNode.hasPreview
MixtureNode.defaultPreviewChannels
MixtureNode.showPreviewExposure
MixtureNode.isPreviewCollapsed
MixtureNode.onSettingsChanged
MixtureNode.beforeProcessSetup
MixtureNode.afterProcessCleanup
MixtureNode.showControlsOnHover
MixtureNode.needsInspector
MixtureNode.temporaryMaterials
MixtureNode.previewMode
MixtureNode.previewMip
MixtureNode.previewVisible
MixtureNode.previewEV100
MixtureNode.previewSlice
MixtureNode.isPinned
MixtureNode.recorder
MixtureNode.OnNodeCreated()
MixtureNode.UpdateTempRenderTexture(CustomRenderTexture, Boolean, Boolean, CustomRenderTextureUpdateMode, Boolean)
MixtureNode.GetTempTextureDimension()
MixtureNode.OnProcess(CommandBuffer)
MixtureNode.Process()
MixtureNode.RemoveObjectFromGraph(Object)
MixtureNode.GetPropertyType(Shader, Int32)
MixtureNode.GetMaterialPortDatas(Material)
MixtureNode.AssignMaterialPropertiesFromEdges(List<SerializableEdge>, Material)
MixtureNode.OnSettingsChanged()
MixtureNode.GetDefaultMaterial(Material)
MixtureNode.ResetMaterialPropertyToDefault(Material, String)
MixtureNode.GetTempMaterial(String)
Namespace: Mixture
Assembly: Mixture.Runtime.dll
Syntax
[Documentation("\r\nExecute a flood fill operation on all pixels above the specified threshold.\r\n\r\nNote that the computational cost of this node only depends on the texture resolution and not the distance parameter.\r\n\r\nSmooth is only in alpha\r\n")]
[Serializable]
public class Distance : ComputeShaderNode

Fields

| Improve this Doc View Source

distance

Declaration
[Tooltip("Distance value in percent of the texture size")]
public float distance
Field Value
Type Description
System.Single
| Improve this Doc View Source

distanceMode

Declaration
[Tooltip("How the distance is calculated")]
public Distance.DistanceMode distanceMode
Field Value
Type Description
Distance.DistanceMode
| Improve this Doc View Source

input

Declaration
public Texture input
Field Value
Type Description
UnityEngine.Texture
| Improve this Doc View Source

mode

Declaration
[Tooltip("Output mode of the distance, by default a blend with the distance is performed")]
public Distance.Mode mode
Field Value
Type Description
Distance.Mode
| Improve this Doc View Source

output

Declaration
public CustomRenderTexture output
Field Value
Type Description
UnityEngine.CustomRenderTexture
| Improve this Doc View Source

threshold

Declaration
[Tooltip("Threshold value to select pixels to dilate. Any value above this threshold will be selected")]
public float threshold
Field Value
Type Description
System.Single
| Improve this Doc View Source

thresholdMode

Declaration
[Tooltip("Select which value to compare against the threshold")]
public Distance.ThresholdMode thresholdMode
Field Value
Type Description
Distance.ThresholdMode

Properties

| Improve this Doc View Source

computeShaderResourcePath

Declaration
protected override string computeShaderResourcePath { get; }
Property Value
Type Description
System.String
Overrides
ComputeShaderNode.computeShaderResourcePath
| Improve this Doc View Source

name

Declaration
public override string name { get; }
Property Value
Type Description
System.String
Overrides
ComputeShaderNode.name
| Improve this Doc View Source

previewTexture

Declaration
public override Texture previewTexture { get; }
Property Value
Type Description
UnityEngine.Texture
Overrides
ComputeShaderNode.previewTexture
| Improve this Doc View Source

showDefaultInspector

Declaration
public override bool showDefaultInspector { get; }
Property Value
Type Description
System.Boolean
Overrides
MixtureNode.showDefaultInspector
| Improve this Doc View Source

supportedDimensions

Declaration
public override List<OutputDimension> supportedDimensions { get; }
Property Value
Type Description
System.Collections.Generic.List<OutputDimension>
Overrides
MixtureNode.supportedDimensions

Methods

| Improve this Doc View Source

ChangeInputPortType(List<SerializableEdge>)

Declaration
protected IEnumerable<PortData> ChangeInputPortType(List<SerializableEdge> edges)
Parameters
Type Name Description
System.Collections.Generic.List<SerializableEdge> edges
Returns
Type Description
System.Collections.Generic.IEnumerable<PortData>
| Improve this Doc View Source

ChangeOutputPortType(List<SerializableEdge>)

Declaration
protected IEnumerable<PortData> ChangeOutputPortType(List<SerializableEdge> edges)
Parameters
Type Name Description
System.Collections.Generic.List<SerializableEdge> edges
Returns
Type Description
System.Collections.Generic.IEnumerable<PortData>
| Improve this Doc View Source

Disable()

Declaration
protected override void Disable()
Overrides
ComputeShaderNode.Disable()
| Improve this Doc View Source

Enable()

Declaration
protected override void Enable()
Overrides
ComputeShaderNode.Enable()
| Improve this Doc View Source

GetCustomRenderTexture()

Declaration
public CustomRenderTexture GetCustomRenderTexture()
Returns
Type Description
UnityEngine.CustomRenderTexture
| Improve this Doc View Source

ProcessNode(CommandBuffer)

Declaration
protected override bool ProcessNode(CommandBuffer cmd)
Parameters
Type Name Description
UnityEngine.Rendering.CommandBuffer cmd
Returns
Type Description
System.Boolean
Overrides
MixtureNode.ProcessNode(CommandBuffer)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX