C# Class GPUGraph.SimpleNode

Inheritance: Node
Show file Open project: heyx3/GPUNoiseForUnity Class Usage Examples

Public Properties

Property Type Description
Expr string

Public Methods

Method Description
EmitCode ( StringBuilder outCode ) : void
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
SimpleNode ( Rect pos, string expr, string name ) : System

Creates a new node that calls a function with a constant number of inputs.

SimpleNode ( SerializationInfo info, StreamingContext context ) : System

Protected Methods

Method Description
MakeClone ( ) : Node

Private Methods

Method Description
SimpleNode ( string expr, string name ) : System

Method Details

EmitCode() public method

public EmitCode ( StringBuilder outCode ) : void
outCode StringBuilder
return void

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

MakeClone() protected method

protected MakeClone ( ) : Node
return Node

SimpleNode() public method

Creates a new node that calls a function with a constant number of inputs.
public SimpleNode ( Rect pos, string expr, string name ) : System
pos UnityEngine.Rect
expr string /// An expression using the given inputs. /// NOTE: in the expression, an input should be surrounded by apostrophes /// to distinguish it from the rest of the code. ///
name string
return System

SimpleNode() public method

public SimpleNode ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System

Property Details

Expr public property

public string Expr
return string