Class MeshToUDF
Inheritance
System.Object
MeshToUDF
Assembly: Mixture.Runtime.dll
Syntax
[Documentation("\r\nTransform a Mesh into an Unsigned distance field. note that the output 3D texture is unsigned, it means that you can't know if a point is within of outside of the volume, you only know the distance to the closest boundary.\r\n\r\nNote that currently, there is no mesh to signed distance field node.\r\n")]
[Serializable]
public class MeshToUDF : ComputeShaderNode
Fields
|
Improve this Doc
View Source
Declaration
public List<MixtureMesh> inputMeshes
Field Value
Type |
Description |
System.Collections.Generic.List<MixtureMesh> |
|
|
Improve this Doc
View Source
outputVolume
Declaration
public CustomRenderTexture outputVolume
Field Value
Type |
Description |
UnityEngine.CustomRenderTexture |
|
|
Improve this Doc
View Source
renderingVolumeSize
Declaration
public float renderingVolumeSize
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
resolution
Declaration
public MeshToUDF.Resolution resolution
Field Value
Properties
|
Improve this Doc
View Source
computeShaderResourcePath
Declaration
protected override string computeShaderResourcePath { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
name
Declaration
public override string name { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
previewTexture
Declaration
public override Texture previewTexture { get; }
Property Value
Type |
Description |
UnityEngine.Texture |
|
Overrides
|
Improve this Doc
View Source
showDefaultInspector
Declaration
public override bool showDefaultInspector { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
|
Improve this Doc
View Source
Disable()
Declaration
protected override void Disable()
Overrides
|
Improve this Doc
View Source
Enable()
Declaration
protected override void Enable()
Overrides
|
Improve this Doc
View Source
Declaration
protected void GetMaterialInputs(List<SerializableEdge> edges)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<SerializableEdge> |
edges |
|
|
Improve this Doc
View Source
Declaration
public IEnumerable<PortData> InputMeshesDisplayType(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
ListMaterialProperties(List<SerializableEdge>)
Declaration
public IEnumerable<PortData> ListMaterialProperties(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
ProcessNode(CommandBuffer)
Declaration
protected override bool ProcessNode(CommandBuffer cmd)
Parameters
Type |
Name |
Description |
UnityEngine.Rendering.CommandBuffer |
cmd |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides