Sequine - Scripting API
|
Classes | |
class | CommandNodeConfig |
class | Styles |
Public Member Functions | |
CommandData | GetCommandData () |
Command | GetCommand () |
T | GetCommand< T > () |
CommandNode (CommandData _commandData, Command _command, Vector2 _position, float _width, float _height, Config _config) | |
ConnectionPoint | AddMainInPoint (Config _config) |
ConnectionPoint | AddMainOutPoint (Config _config) |
ConnectionPoint | AddPropertyInPoint (Type _type, Config _config) |
ConnectionPoint | AddPropertyInPoint< T > (Config _config) |
ConnectionPoint | AddPropertyOutPoint (Type _type, Config _config) |
ConnectionPoint | AddPropertyOutPoint< T > (Config _config) |
override void | Draw (Vector2 _offset) |
virtual bool | FilterByContent (string _filter, out string _displayContent) |
Public Member Functions inherited from Calcatz.CookieCutter.Node | |
Node (Vector2 position, float width, float height, Config config) | |
ConnectionPoint | AddInPoint (Config _config) |
ConnectionPoint | AddOutPoint (Config _config) |
void | SetConfig (Config _config) |
void | Drag (Vector2 delta) |
bool | ProcessEvents (Vector2 _offset, Event e, float _zoomScale, ref bool _anyNodeClicked) |
bool | ProcessSelectedNodesEvents (Vector2 _offset, Event e, HashSet< Node > _selectedNodes) |
Static Public Member Functions | |
static int | GetConnectionPointIndex (ConnectionPoint _point, List< ConnectionPoint > _points) |
static MonoScript | GetMonoScript (Type _commandType) |
Public Attributes | |
System.Action | onRefreshNeeded |
string | nodeName = "Command" |
string | tooltip = "" |
Public Attributes inherited from Calcatz.CookieCutter.Node | |
Rect | rect |
bool | isDragged |
bool | isSelected |
bool | isOffScreen |
bool | hasOffScreenCalculated |
List< ConnectionPoint > | inPoints |
List< ConnectionPoint > | outPoints |
GUIStyle | style |
GUIStyle | defaultNodeStyle |
GUIStyle | selectedNodeStyle |
Action< Node > | OnRemoveNode |
Static Public Attributes | |
static List< Command > | clipboardCommands = new List<Command>() |
Static Public Attributes inherited from Calcatz.CookieCutter.Node | |
const float | verticalSpacing = 5 |
Protected Member Functions | |
virtual void | HandleFirstInPointCreation (Config _config) |
virtual void | HandleFirstOutPointCreation (Config _config) |
override void | DrawInPoint (Vector2 _nodePosition, int _index, float _yPos) |
override void | DrawOutPoint (Vector2 _nodePosition, int _index, float _yPos) |
virtual void | OnDrawTitle (Vector2 _absolutePosition) |
virtual void | OnDrawContents (Vector2 _absolutePosition) |
void | AddRectHeight (float _height, bool _autoAddVerticalSpacing=true) |
override void | OnEndDragNode () |
override void | HandleContextMenu (GenericMenu _genericMenu) |
override bool | IsCopyAvailable () |
bool | IsPasteAvailable () |
override void | Copy () |
override void | Paste () |
override void | OnClickRemoveNode () |
Rect | GenerateLineRect (Vector2 _absolutePosition, int _lineCount=1) |
A wrapper to generate a standard rect for one line (or more) field. More... | |
void | GenerateSingleLineLabeledRect (Vector2 _absolutePosition, out Rect labelRect, out Rect valueRect) |
Protected Member Functions inherited from Calcatz.CookieCutter.Node | |
virtual void | OnRemoved () |
Static Protected Member Functions | |
static void | DropBinderAreaGUI< T > (Rect _dropArea, System.Action< T > _onObjectChanged) |
Protected Attributes | |
CommandData | commandData |
SerializedProperty | serializedProperty |
Command | command |
float | currentY |
Static Protected Attributes | |
const float | LABEL_WIDTH = 0.4f |
static Styles | styles = new Styles() |
Properties | |
virtual string[] | ReservedNodeNames [get] |
virtual bool[] | ReservedNodeTypes [get] |
Calcatz.CookieCutter.CommandNode.CommandNode | ( | CommandData | _commandData, |
Command | _command, | ||
Vector2 | _position, | ||
float | _width, | ||
float | _height, | ||
Config | _config | ||
) |
ConnectionPoint Calcatz.CookieCutter.CommandNode.AddMainInPoint | ( | Config | _config | ) |
ConnectionPoint Calcatz.CookieCutter.CommandNode.AddMainOutPoint | ( | Config | _config | ) |
ConnectionPoint Calcatz.CookieCutter.CommandNode.AddPropertyInPoint | ( | Type | _type, |
Config | _config | ||
) |
ConnectionPoint Calcatz.CookieCutter.CommandNode.AddPropertyInPoint< T > | ( | Config | _config | ) |
ConnectionPoint Calcatz.CookieCutter.CommandNode.AddPropertyOutPoint | ( | Type | _type, |
Config | _config | ||
) |
|
protected |
|
protectedvirtual |
Reimplemented from Calcatz.CookieCutter.Node.
|
virtual |
Reimplemented from Calcatz.CookieCutter.Node.
Reimplemented in Calcatz.CookieCutter.SetVariableCommandNode, Calcatz.CookieCutter.StickyNoteCommandNode, and Calcatz.Sequine.SetGlobalVariableCommandNode.
|
protectedvirtual |
Reimplemented from Calcatz.CookieCutter.Node.
|
protectedvirtual |
Reimplemented from Calcatz.CookieCutter.Node.
|
staticprotected |
|
virtual |
Reimplemented in Calcatz.CookieCutter.BranchCommandNode, and Calcatz.CookieCutter.TextFormatterCommandNode.
|
protected |
A wrapper to generate a standard rect for one line (or more) field.
_absolutePosition | |
_lineCount |
|
protected |
Command Calcatz.CookieCutter.CommandNode.GetCommand | ( | ) |
T Calcatz.CookieCutter.CommandNode.GetCommand< T > | ( | ) |
T | : | Command |
CommandData Calcatz.CookieCutter.CommandNode.GetCommandData | ( | ) |
|
static |
|
static |
|
protectedvirtual |
Reimplemented from Calcatz.CookieCutter.Node.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.BuildableCommandNode, Calcatz.CookieCutter.BuildablePropertyCommandNode, Calcatz.CookieCutter.TextFormatterCommandNode, Calcatz.CookieCutter.CrossSceneComponentCommandNode, Calcatz.CookieCutter.RandomObjectSelectorCommandNode, Calcatz.CookieCutter.StringFormatterCommandNode, Calcatz.CookieCutter.VariableCommandNode, and Calcatz.Sequine.GetGlobalVariableCommandNode.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.BuildableCommandNode, Calcatz.CookieCutter.BuildablePropertyCommandNode, Calcatz.CookieCutter.CrossSceneComponentCommandNode, Calcatz.CookieCutter.RandomObjectSelectorCommandNode, Calcatz.CookieCutter.StringFormatterCommandNode, Calcatz.CookieCutter.VariableCommandNode, and Calcatz.Sequine.GetGlobalVariableCommandNode.
|
protectedvirtual |
Reimplemented from Calcatz.CookieCutter.Node.
|
protected |
|
protectedvirtual |
Reimplemented from Calcatz.CookieCutter.Node.
|
protectedvirtual |
Reimplemented in Calcatz.CookieCutter.BranchCommandNode, Calcatz.CookieCutter.BuildableCommandNode, Calcatz.CookieCutter.BuildablePropertyCommandNode, Calcatz.CookieCutter.TextFormatterCommandNode, Calcatz.CookieCutter.TimelinePlayerCommandNode, Calcatz.CookieCutter.CrossSceneComponentCommandNode, Calcatz.CookieCutter.RandomObjectSelectorCommandNode, Calcatz.Sequine.GetGlobalVariableCommandNode, and Calcatz.Sequine.SequineFlowCommandNode.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from Calcatz.CookieCutter.Node.
|
protectedvirtual |
Reimplemented from Calcatz.CookieCutter.Node.
|
protected |
|
protected |
|
protected |
|
staticprotected |
string Calcatz.CookieCutter.CommandNode.nodeName = "Command" |
System.Action Calcatz.CookieCutter.CommandNode.onRefreshNeeded |
|
protected |
string Calcatz.CookieCutter.CommandNode.tooltip = "" |
|
get |
|
get |