Cheatsheet

hscript

References

Repositories

$CY // copy number    

Data types declaration

int x = 18; // integer
float y =  3.142 // float 
string name = "John";  // string
vector v = {1,1,1};
matrix3 m = ident(); // identity matrix creation
quaternion 

// array form: member_type var_name[]:
float my_array[];
vector_array[];
str_array[];

//global attribute
@myGlobalAttribute
v@myVector = set(-1,-1,-1);
i@var = 1;

Statements

Attributes

Functions

Expressions

Creating controls

Last updated

Was this helpful?