Show / Hide Table of Contents

Class PrefabCaptureNode

Inheritance
System.Object
MixtureNode
PrefabCaptureNode
Inherited Members
MixtureNode.graph
MixtureNode.rtSettings
MixtureNode.defaultRTSettings
MixtureNode.hasPreview
MixtureNode.supportedDimensions
MixtureNode.defaultPreviewChannels
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.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\nRenders the content of the prefab using the camera at the root of the prefab.\r\nYou can use choose to output different buffers from the prefab: Color, Depth, World Normal, Tangent or World Position.\r\nThe alpha channel is used to know whether an object is here or not (0 means nothing and 1 object).\r\n\r\nOpening the prefab will switch to a render texture so you can visualize the changes in real-time in the graph.\r\nWhen you are satisfied with the setup in the prefab, click on 'Save Current View' to save the texture as sub-asset of the graph, you cna the close the prefab and the scene node will use this baked texture as output.\r\n\r\nNote that this node is currently only available with HDRP.\r\n")]
[Serializable]
public class PrefabCaptureNode : MixtureNode

Fields

| Improve this Doc View Source

mode

Declaration
public PrefabCaptureNode.OutputMode mode
Field Value
Type Description
PrefabCaptureNode.OutputMode
| Improve this Doc View Source

outputTexture

Declaration
[Tooltip("Rendered view from the camera in the prefab")]
[NonSerialized]
public Texture outputTexture
Field Value
Type Description
UnityEngine.Texture
| Improve this Doc View Source

prefab

Declaration
public GameObject prefab
Field Value
Type Description
UnityEngine.GameObject

Properties

| Improve this Doc View Source

hasSettings

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

name

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

nodeWidth

Declaration
public override float nodeWidth { get; }
Property Value
Type Description
System.Single
Overrides
MixtureNode.nodeWidth
| Improve this Doc View Source

previewTexture

Declaration
public override Texture previewTexture { get; }
Property Value
Type Description
UnityEngine.Texture
Overrides
MixtureNode.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

showPreviewExposure

Declaration
public override bool showPreviewExposure { get; }
Property Value
Type Description
System.Boolean
Overrides
MixtureNode.showPreviewExposure

Methods

| Improve this Doc View Source

Disable()

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

Enable()

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

OnNodeCreated()

Declaration
public override void OnNodeCreated()
Overrides
MixtureNode.OnNodeCreated()
| 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