C# Class StrumpyShaderEditor.Node

Mostrar archivo Open project: stramit/SSE Class Usage Examples

Public Properties

Property Type Description
CurrentState NodeState

Private Properties

Property Type Description

Public Methods

Method Description
AddErrors ( IEnumerable errors ) : void
AddedToGraph ( int newNodeID ) : void
AssertInputChannelExists ( uint channelId ) : void
AssertOutputChannelExists ( uint channelId ) : void
ButtonAt ( Vector2 location ) : bool
ClearErrors ( ) : void
DeltaMove ( Vector2 delta ) : void
Draw ( StrumpyShaderEditor.NodeEditor editor, bool showComments, bool selected, Vector2 drawOffset ) : void
DrawCommentField ( ) : void
DrawProperties ( ) : void
GetExpression ( uint channelId ) : string
GetHashCode ( ) : int
GetInputChannel ( uint channelId ) : StrumpyShaderEditor.InputChannel
GetInputChannels ( ) : IEnumerable
GetOutputChannel ( uint channelId ) : StrumpyShaderEditor.OutputChannel
Initialize ( ) : void
IsOutputChannelConnected ( uint channelId ) : bool
IsValid ( SubGraphType graphType ) : IEnumerable
NeedsCosTime ( ) : bool
NeedsSinTime ( ) : bool
NeedsTime ( ) : bool

Protected Methods

Method Description
GetOutputChannels ( ) : IEnumerable
IsInputChannelConnected ( uint channelId ) : bool
Node ( ) : System

Method Details

AddErrors() public method

public AddErrors ( IEnumerable errors ) : void
errors IEnumerable
return void

AddedToGraph() public method

public AddedToGraph ( int newNodeID ) : void
newNodeID int
return void

AssertInputChannelExists() public method

public AssertInputChannelExists ( uint channelId ) : void
channelId uint
return void

AssertOutputChannelExists() public method

public AssertOutputChannelExists ( uint channelId ) : void
channelId uint
return void

ButtonAt() public method

public ButtonAt ( Vector2 location ) : bool
location Vector2
return bool

ClearErrors() public method

public ClearErrors ( ) : void
return void

DeltaMove() public method

public DeltaMove ( Vector2 delta ) : void
delta Vector2
return void

Draw() public method

public Draw ( StrumpyShaderEditor.NodeEditor editor, bool showComments, bool selected, Vector2 drawOffset ) : void
editor StrumpyShaderEditor.NodeEditor
showComments bool
selected bool
drawOffset Vector2
return void

DrawCommentField() public method

public DrawCommentField ( ) : void
return void

DrawProperties() public method

public DrawProperties ( ) : void
return void

GetExpression() public abstract method

public abstract GetExpression ( uint channelId ) : string
channelId uint
return string

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetInputChannel() public method

public GetInputChannel ( uint channelId ) : StrumpyShaderEditor.InputChannel
channelId uint
return StrumpyShaderEditor.InputChannel

GetInputChannels() public abstract method

public abstract GetInputChannels ( ) : IEnumerable
return IEnumerable

GetOutputChannel() public method

public GetOutputChannel ( uint channelId ) : StrumpyShaderEditor.OutputChannel
channelId uint
return StrumpyShaderEditor.OutputChannel

GetOutputChannels() protected abstract method

protected abstract GetOutputChannels ( ) : IEnumerable
return IEnumerable

Initialize() public abstract method

public abstract Initialize ( ) : void
return void

IsInputChannelConnected() protected method

protected IsInputChannelConnected ( uint channelId ) : bool
channelId uint
return bool

IsOutputChannelConnected() public method

public IsOutputChannelConnected ( uint channelId ) : bool
channelId uint
return bool

IsValid() public method

public IsValid ( SubGraphType graphType ) : IEnumerable
graphType SubGraphType
return IEnumerable

NeedsCosTime() public method

public NeedsCosTime ( ) : bool
return bool

NeedsSinTime() public method

public NeedsSinTime ( ) : bool
return bool

NeedsTime() public method

public NeedsTime ( ) : bool
return bool

Node() protected method

protected Node ( ) : System
return System

Property Details

CurrentState public_oe property

public NodeState CurrentState
return NodeState