mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
add/edit descriptions of most nodes
This commit is contained in:
parent
7bd7b6152a
commit
3c0a12d005
25 changed files with 25 additions and 23 deletions
|
@ -5,6 +5,7 @@ func _init() -> void:
|
|||
name = "Bool Constant"
|
||||
node_type = name.to_snake_case()
|
||||
category = "general"
|
||||
description = "A checkbox."
|
||||
|
||||
add_output_port(
|
||||
DeckType.Types.BOOL,
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Button"
|
||||
node_type = "button"
|
||||
description = "a button"
|
||||
description = "A button to trigger certain nodes that have a trigger input."
|
||||
category = "general"
|
||||
|
||||
add_output_port(
|
||||
|
|
|
@ -5,7 +5,7 @@ var thread : Thread
|
|||
func _init():
|
||||
name = "Delay"
|
||||
node_type = name.to_snake_case()
|
||||
description = "A Node that passes through the input after the set time."
|
||||
description = "A node that passes through its' input after the set time."
|
||||
category = "general"
|
||||
|
||||
add_output_port(DeckType.Types.ANY, "Value")
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Get Dictionary Key"
|
||||
node_type = "dictionary_get_key"
|
||||
description = ""
|
||||
description = "Returns the value of a key from a dictionary input, if it exists, or null otherwise."
|
||||
category = "general"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -5,7 +5,7 @@ var expr = Expression.new()
|
|||
func _init():
|
||||
name = "Expression"
|
||||
node_type = name.to_snake_case()
|
||||
description = "A Node holding a block of executable GDScript code."
|
||||
description = "A node returning the result of a mathematical expression."
|
||||
category = "general"
|
||||
|
||||
props_to_serialize = []
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Get Deck Var"
|
||||
node_type = name.to_snake_case()
|
||||
description = "retrieve a deck variable"
|
||||
description = "Retrieve a deck variable."
|
||||
category = "general"
|
||||
|
||||
add_output_port(
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Decompose OBS Transform"
|
||||
node_type = "obs_decompose_transform"
|
||||
description = ""
|
||||
description = "Splits an OBS transform from one object into multiple outputs."
|
||||
category = "obs"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -10,7 +10,7 @@ var cached_id # TODO: evaluate if this caching is actually needed
|
|||
func _init() -> void:
|
||||
name = "Get Source ID"
|
||||
node_type = "obs_search_source"
|
||||
description = ""
|
||||
description = "Searches for an OBS source in a scene and returns its output."
|
||||
category = "obs"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -15,7 +15,7 @@ enum InputPorts{
|
|||
func _init() -> void:
|
||||
name = "Set Source Transform"
|
||||
node_type = "obs_set_source_transform"
|
||||
description = ""
|
||||
description = "Sets an OBS source's transform, which includes position and rotation, among other things."
|
||||
category = "obs"
|
||||
|
||||
props_to_serialize = []
|
||||
|
|
|
@ -5,7 +5,7 @@ var noobs: NoOBSWS
|
|||
func _init() -> void:
|
||||
name = "Set Scene"
|
||||
node_type = "obs_set_scene"
|
||||
description = ""
|
||||
description = "Sets the current scene in OBS."
|
||||
category = "obs"
|
||||
|
||||
props_to_serialize = []
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Vector to OBS Position"
|
||||
node_type = "obs_vector_to_position"
|
||||
description = ""
|
||||
description = "Transforms a Vector into a position vector accepted by OBS transform inputs."
|
||||
category = "obs"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -6,7 +6,7 @@ var noobs: NoOBSWS
|
|||
func _init() -> void:
|
||||
name = "OBS WS Generic Request"
|
||||
node_type = "obs_generic_request"
|
||||
description = ""
|
||||
description = "Makes an OBS request and sends its result through. Use if if you really know what you're doing."
|
||||
category = "obs"
|
||||
|
||||
props_to_serialize = []
|
||||
|
|
|
@ -6,7 +6,7 @@ var times_activated := 0
|
|||
func _init() -> void:
|
||||
name = "Print"
|
||||
node_type = name.to_snake_case()
|
||||
description = "print a value"
|
||||
description = "Print a value to the console."
|
||||
|
||||
props_to_serialize = [&"times_activated"]
|
||||
category = "general"
|
||||
|
|
|
@ -6,7 +6,7 @@ var delta: float
|
|||
func _init() -> void:
|
||||
name = "Process Loop"
|
||||
node_type = name.to_snake_case()
|
||||
description = ""
|
||||
description = "Sends a trigger output every frame, and returns the delta value (time since last frame in seconds)."
|
||||
category = "general"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Set Deck Var"
|
||||
node_type = name.to_snake_case()
|
||||
description = "set deck variable"
|
||||
description = "Set a deck variable on trigger."
|
||||
category = "general"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -5,6 +5,7 @@ func _init() -> void:
|
|||
node_type = "string_constant"
|
||||
name = "String Constant"
|
||||
category = "general"
|
||||
description = "A String field."
|
||||
|
||||
add_output_port(
|
||||
DeckType.Types.STRING,
|
||||
|
|
|
@ -9,7 +9,7 @@ var tags := {}
|
|||
func _init():
|
||||
name = "Twitch Chat Received"
|
||||
node_type = "twitch_chat_received"
|
||||
description = "Receives Twitch Chat Events from a Twitch Connection"
|
||||
description = "Receives Twitch chat events from a Twitch connection."
|
||||
category = "twitch"
|
||||
|
||||
add_output_port(DeckType.Types.STRING, "Username")
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init():
|
||||
name = "Twitch Send Chat"
|
||||
node_type = "twitch_send_chat"
|
||||
description = "Sends Twitch chat Messages"
|
||||
description = "Sends a message to a Twitch chat."
|
||||
category = "twitch"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Add Vectors"
|
||||
node_type = "vector_add"
|
||||
description = ""
|
||||
description = "Adds two 2D vectors."
|
||||
category = "math"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Compose Vector"
|
||||
node_type = "vector_compose"
|
||||
description = ""
|
||||
description = "Returns a vector from two numeric inputs."
|
||||
category = "math"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Decompose Vector"
|
||||
node_type = "vector_decompose"
|
||||
description = ""
|
||||
description = "Returns the X and Y components of a vector."
|
||||
category = "math"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Vector Dot Product"
|
||||
node_type = "vector_dot"
|
||||
description = ""
|
||||
description = "Returns the dot product of two vectors."
|
||||
category = "math"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Multiply Vector by Scalar"
|
||||
node_type = "vector_multiply"
|
||||
description = ""
|
||||
description = "Multiplies a vector by a numeric value."
|
||||
category = "math"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Normalize Vector"
|
||||
node_type = "vector_normalize"
|
||||
description = ""
|
||||
description = "Normalizes a vector so its' length (magnitude) is exactly 1."
|
||||
category = "math"
|
||||
|
||||
add_input_port(
|
||||
|
|
|
@ -4,7 +4,7 @@ extends DeckNode
|
|||
func _init() -> void:
|
||||
name = "Subtract Vectors"
|
||||
node_type = "vector_subtract"
|
||||
description = ""
|
||||
description = "Subtracts each component of the given vectors."
|
||||
category = "math"
|
||||
|
||||
add_input_port(
|
||||
|
|
Loading…
Reference in a new issue