Sequine - Scripting API
Calcatz.CookieCutter.CommandCreatorWindow.CommandLine Class Reference

Public Types

enum  PointLocation { None , Left , Right }
 
enum  ContentType { InputField , Label , None }
 
enum  PointType {
  Main , Boolean , Integer , Float ,
  String , Vector3 , UnityObject , Unspecified
}
 
enum  OutMainType { AlternateExit , Parallel }
 
enum  FieldType {
  Text , TextArea , RoundedFloat , Float ,
  FloatSlider , Int , IntSlider , Toggle ,
  ToggleLeft , Object , Color , Curve ,
  Enum , Vector3 , Vector3Int , Vector2 ,
  Vector2Int , Vector4 , Rect , RectInt ,
  Popup , CrossSceneTarget
}
 

Public Attributes

ContentType contentType = ContentType.InputField
 
string label = "New Field"
 
string tooltip = ""
 
PointLocation pointLocation = PointLocation.None
 
PointType pointType = PointType.Main
 
OutMainType outMainType = OutMainType.AlternateExit
 
bool alignRight = false
 
FieldType fieldType = FieldType.Float
 
int lineCount = 2
 
bool wordWrap = true
 
bool useMin = false
 
bool useMax = true
 
float min = 0f
 
float max = 0f
 
bool allowSceneObjects = true
 
float spacing = 0f
 

Static Public Attributes

static readonly Dictionary< PointType, Type > connectionTypes
 
static readonly Dictionary< FieldType, PointTypefieldPointTypes
 
static readonly Dictionary< FieldType, Type > fieldDataTypes
 

Member Enumeration Documentation

◆ ContentType

Enumerator
InputField 
Label 
None 

◆ FieldType

Enumerator
Text 
TextArea 
RoundedFloat 
Float 
FloatSlider 
Int 
IntSlider 
Toggle 
ToggleLeft 
Object 
Color 
Curve 
Enum 
Vector3 
Vector3Int 
Vector2 
Vector2Int 
Vector4 
Rect 
RectInt 
Popup 
CrossSceneTarget 

◆ OutMainType

Enumerator
AlternateExit 
Parallel 

◆ PointLocation

◆ PointType

Enumerator
Main 
Boolean 
Integer 
Float 
String 
Vector3 
UnityObject 
Unspecified 

Member Data Documentation

◆ alignRight

bool Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.alignRight = false

◆ allowSceneObjects

bool Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.allowSceneObjects = true

◆ connectionTypes

readonly Dictionary<PointType, Type> Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.connectionTypes
static
Initial value:
= new Dictionary<PointType, Type>() {
{ PointType.Main, typeof(MainConnectionPoint) },
{ PointType.Boolean, typeof(BooleanConnectionPoint) },
{ PointType.Integer, typeof(IntConnectionPoint) },
{ PointType.Float, typeof(FloatConnectionPoint) },
{ PointType.String, typeof(StringConnectionPoint) },
{ PointType.Vector3, typeof(Vector3ConnectionPoint) },
{ PointType.UnityObject, typeof(ObjectConnectionPoint) },
{ PointType.Unspecified, typeof(PropertyConnectionPoint) }
}

◆ contentType

ContentType Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.contentType = ContentType.InputField

◆ fieldDataTypes

readonly Dictionary<FieldType, Type> Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.fieldDataTypes
static
Initial value:
= new Dictionary<FieldType, Type>() {
{ FieldType.Text, typeof(string) },
{ FieldType.TextArea, typeof(string) },
{ FieldType.RoundedFloat, typeof(float) },
{ FieldType.Float, typeof(float) },
{ FieldType.FloatSlider, typeof(float) },
{ FieldType.Int, typeof(int) },
{ FieldType.IntSlider, typeof(int) },
{ FieldType.Toggle, typeof(bool) },
{ FieldType.ToggleLeft, typeof(bool) },
{ FieldType.Object, typeof(UnityEngine.Object) },
{ FieldType.Color, typeof(Color) },
{ FieldType.Curve, typeof(AnimationCurve) },
{ FieldType.Enum, typeof(TextAlignment) },
{ FieldType.Vector3, typeof(Vector3) },
{ FieldType.Vector3Int, typeof(Vector3Int) },
{ FieldType.Vector2, typeof(Vector2) },
{ FieldType.Vector2Int, typeof(Vector2Int) },
{ FieldType.Vector4, typeof(Vector4) },
{ FieldType.Rect, typeof(Rect) },
{ FieldType.RectInt, typeof(RectInt) },
{ FieldType.Popup, typeof(int) },
{ FieldType.CrossSceneTarget, typeof(TargetObject<UnityEngine.Object>) }
}

◆ fieldPointTypes

readonly Dictionary<FieldType, PointType> Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.fieldPointTypes
static
Initial value:
= new Dictionary<FieldType, PointType>() {
{ FieldType.Text, PointType.String },
{ FieldType.TextArea, PointType.String },
{ FieldType.RoundedFloat, PointType.Float },
{ FieldType.Float, PointType.Float },
{ FieldType.FloatSlider, PointType.Float },
{ FieldType.Int, PointType.Integer },
{ FieldType.IntSlider, PointType.Integer },
{ FieldType.Toggle, PointType.Boolean },
{ FieldType.ToggleLeft, PointType.Boolean },
{ FieldType.Object, PointType.UnityObject },
{ FieldType.Color, PointType.Unspecified },
{ FieldType.Curve, PointType.Unspecified },
{ FieldType.Enum, PointType.Unspecified },
{ FieldType.Vector3, PointType.Vector3 },
{ FieldType.Vector3Int, PointType.Vector3 },
{ FieldType.Vector2, PointType.Vector3 },
{ FieldType.Vector2Int, PointType.Unspecified },
{ FieldType.Vector4, PointType.Unspecified },
{ FieldType.Rect, PointType.Unspecified },
{ FieldType.RectInt, PointType.Unspecified },
{ FieldType.Popup, PointType.Integer },
{ FieldType.CrossSceneTarget, PointType.UnityObject }
}

◆ fieldType

FieldType Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.fieldType = FieldType.Float

◆ label

string Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.label = "New Field"

◆ lineCount

int Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.lineCount = 2

◆ max

float Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.max = 0f

◆ min

float Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.min = 0f

◆ outMainType

OutMainType Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.outMainType = OutMainType.AlternateExit

◆ pointLocation

PointLocation Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.pointLocation = PointLocation.None

◆ pointType

PointType Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.pointType = PointType.Main

◆ spacing

float Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.spacing = 0f

◆ tooltip

string Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.tooltip = ""

◆ useMax

bool Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.useMax = true

◆ useMin

bool Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.useMin = false

◆ wordWrap

bool Calcatz.CookieCutter.CommandCreatorWindow.CommandLine.wordWrap = true