Class ChannelMaskNode
Inheritance
System.Object
ChannelMaskNode
Syntax
public class ChannelMaskNode : AbstractMaterialNode, ISerializationCallbackReceiver, IGenerateProperties, IGeneratesBodyCode, IGeneratesFunction
Constructors
ChannelMaskNode()
Declaration
Fields
channel
Declaration
public TextureChannel channel
Field Value
Properties
channelMask
Declaration
public int channelMask { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
documentationURL
Declaration
public override string documentationURL { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
hasPreview
Declaration
public override bool hasPreview { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
GenerateNodeCode(ShaderGenerator, GraphContext, GenerationMode)
Declaration
public void GenerateNodeCode(ShaderGenerator visitor, GraphContext graphContext, GenerationMode generationMode)
Parameters
Implements
GenerateNodeFunction(FunctionRegistry, GraphContext, GenerationMode)
Declaration
public void GenerateNodeFunction(FunctionRegistry registry, GraphContext graphContext, GenerationMode generationMode)
Parameters
Implements
UpdateNodeAfterDeserialization()
Declaration
public override sealed void UpdateNodeAfterDeserialization()
Overrides