text
stringlengths
9
39.2M
dir
stringlengths
26
295
lang
stringclasses
185 values
created_date
timestamp[us]
updated_date
timestamp[us]
repo_name
stringlengths
1
97
repo_full_name
stringlengths
7
106
star
int64
1k
183k
len_tokens
int64
1
13.8M
```objective-c #ifndef Py_STRUCTMEMBER_H #define Py_STRUCTMEMBER_H #ifdef __cplusplus extern "C" { #endif /* Interface to map C struct members to Python object attributes */ #include <stddef.h> /* For offsetof */ /* The offsetof() macro calculates the offset of a structure member in its structure. Unfortunately...
/content/code_sandbox/android/python27/include/structmember.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
693
```objective-c #ifndef PY_NO_SHORT_FLOAT_REPR #ifdef __cplusplus extern "C" { #endif PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr); PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve); PyAPI_FUNC(void) _Py_dg_freedtoa(char *s); #i...
/content/code_sandbox/android/python27/include/dtoa.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
100
```objective-c #ifndef Py_SYMTABLE_H #define Py_SYMTABLE_H #ifdef __cplusplus extern "C" { #endif typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } _Py_block_ty; struct _symtable_entry; struct symtable { const char *st_filename; /* name of file being compiled */ struct _symtable_entry ...
/content/code_sandbox/android/python27/include/symtable.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
876
```objective-c #ifndef Py_WARNINGS_H #define Py_WARNINGS_H #ifdef __cplusplus extern "C" { #endif PyAPI_FUNC(void) _PyWarnings_Init(void); PyAPI_FUNC(int) PyErr_WarnEx(PyObject *, const char *, Py_ssize_t); PyAPI_FUNC(int) PyErr_WarnExplicit(PyObject *, const char *, const char *, int, ...
/content/code_sandbox/android/python27/include/warnings.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
166
```objective-c /* File object interface */ #ifndef Py_FILEOBJECT_H #define Py_FILEOBJECT_H #ifdef __cplusplus extern "C" { #endif typedef struct { PyObject_HEAD FILE *f_fp; PyObject *f_name; PyObject *f_mode; int (*f_close)(FILE *); int f_softspace; /* Flag used by 'print' command ...
/content/code_sandbox/android/python27/include/fileobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
906
```objective-c /* Method object interface */ #ifndef Py_METHODOBJECT_H #define Py_METHODOBJECT_H #ifdef __cplusplus extern "C" { #endif /* This is about the type 'builtin_function_or_method', not Python methods in user-defined classes. See classobject.h for the latter. */ PyAPI_DATA(PyTypeObject) PyCFunction...
/content/code_sandbox/android/python27/include/methodobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
808
```objective-c /* Weak references objects for Python. */ #ifndef Py_WEAKREFOBJECT_H #define Py_WEAKREFOBJECT_H #ifdef __cplusplus extern "C" { #endif typedef struct _PyWeakReference PyWeakReference; /* PyWeakReference is the base struct for the Python ReferenceType, ProxyType, * and CallableProxyType. */ struct _...
/content/code_sandbox/android/python27/include/weakrefobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
690
```objective-c /* Token types */ #ifndef Py_TOKEN_H #define Py_TOKEN_H #ifdef __cplusplus extern "C" { #endif #undef TILDE /* Prevent clash of our definition with system macro. Ex AIX, ioctl.h */ #define ENDMARKER 0 #define NAME 1 #define NUMBER 2 #define STRING 3 #define NEWLINE 4 #define INDENT 5 #define D...
/content/code_sandbox/android/python27/include/token.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
584
```objective-c /* Interface to execute compiled code */ #ifndef Py_EVAL_H #define Py_EVAL_H #ifdef __cplusplus extern "C" { #endif PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyCodeObject *, PyObject *, PyObject *); PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals,...
/content/code_sandbox/android/python27/include/eval.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
147
```objective-c #ifndef Py_ASDL_H #define Py_ASDL_H typedef PyObject * identifier; typedef PyObject * string; typedef PyObject * object; #ifndef __cplusplus typedef enum {false, true} bool; #endif /* It would be nice if the code generated by asdl_c.py was completely independent of Python, but it is a goal the requ...
/content/code_sandbox/android/python27/include/asdl.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
320
```objective-c /* CObjects are marked Pending Deprecation as of Python 2.7. The full schedule for 2.x is as follows: - CObjects are marked Pending Deprecation in Python 2.7. - CObjects will be marked Deprecated in Python 2.8 (if there is one). - CObjects will be removed in Python 2.9 (if the...
/content/code_sandbox/android/python27/include/cobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
728
```objective-c /* Grammar interface */ #ifndef Py_GRAMMAR_H #define Py_GRAMMAR_H #ifdef __cplusplus extern "C" { #endif #include "bitset.h" /* Sigh... */ /* A label of an arc */ typedef struct { int lb_type; char *lb_str; } label; #define EMPTY 0 /* Label number 0 is by definition the empty label */ /...
/content/code_sandbox/android/python27/include/grammar.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
575
```objective-c /* Descriptors */ #ifndef Py_DESCROBJECT_H #define Py_DESCROBJECT_H #ifdef __cplusplus extern "C" { #endif typedef PyObject *(*getter)(PyObject *, void *); typedef int (*setter)(PyObject *, PyObject *, void *); typedef struct PyGetSetDef { char *name; getter get; setter set; char *doc; ...
/content/code_sandbox/android/python27/include/descrobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
577
```objective-c /* Integer object interface */ /* PyIntObject represents a (long) integer. This is an immutable object; an integer cannot change its value after creation. There are functions to create new integer objects, to test an object for integer-ness, and to get the integer value. The latter functions returns...
/content/code_sandbox/android/python27/include/intobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
729
```objective-c /* Parse tree node interface */ #ifndef Py_NODE_H #define Py_NODE_H #ifdef __cplusplus extern "C" { #endif typedef struct _node { short n_type; char *n_str; int n_lineno; int n_col_offset; int n_nchildren; struct _node *n_child; } node; PyAPI_FUNC(node *) PyNode_New(in...
/content/code_sandbox/android/python27/include/node.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
275
```objective-c /* timefuncs.h */ /* Utility function related to timemodule.c. */ #ifndef TIMEFUNCS_H #define TIMEFUNCS_H #ifdef __cplusplus extern "C" { #endif /* Cast double x to time_t, but raise ValueError if x is too large * to fit in a time_t. ValueError is set on return iff the return * value is (time_t)...
/content/code_sandbox/android/python27/include/timefuncs.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
146
```objective-c /* File automatically generated by Parser/asdl_c.py. */ #include "asdl.h" typedef struct _mod *mod_ty; typedef struct _stmt *stmt_ty; typedef struct _expr *expr_ty; typedef enum _expr_context { Load=1, Store=2, Del=3, AugLoad=4, AugStore=5, Param=6 } expr_context_ty; ty...
/content/code_sandbox/android/python27/include/Python-ast.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
5,567
```objective-c /* Cell object interface */ #ifndef Py_CELLOBJECT_H #define Py_CELLOBJECT_H #ifdef __cplusplus extern "C" { #endif typedef struct { PyObject_HEAD PyObject *ob_ref; /* Content of the cell or NULL when empty */ } PyCellObject; PyAPI_DATA(PyTypeObject) PyCell_Type; #define PyCell_Check(op) (Py_TYPE(op...
/content/code_sandbox/android/python27/include/cellobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
174
```objective-c /* Buffer object interface */ /* Note: the object's structure is private */ #ifndef Py_BUFFEROBJECT_H #define Py_BUFFEROBJECT_H #ifdef __cplusplus extern "C" { #endif PyAPI_DATA(PyTypeObject) PyBuffer_Type; #define PyBuffer_Check(op) (Py_TYPE(op) == &PyBuffer_Type) #define Py_END_OF_BUFFER (-1) P...
/content/code_sandbox/android/python27/include/bufferobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
199
```objective-c #ifndef Py_TRACEBACK_H #define Py_TRACEBACK_H #ifdef __cplusplus extern "C" { #endif struct _frame; /* Traceback interface */ typedef struct _traceback { PyObject_HEAD struct _traceback *tb_next; struct _frame *tb_frame; int tb_lasti; int tb_lineno; } PyTracebackObject; PyAPI_FUNC(int) PyTraceB...
/content/code_sandbox/android/python27/include/traceback.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
179
```objective-c /* Class object interface */ /* Revealing some structures (not for general use) */ #ifndef Py_CLASSOBJECT_H #define Py_CLASSOBJECT_H #ifdef __cplusplus extern "C" { #endif typedef struct { PyObject_HEAD PyObject *cl_bases; /* A tuple of class objects */ PyObject *cl_dict; /* A dictionary ...
/content/code_sandbox/android/python27/include/classobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
714
```objective-c #ifndef Py_PYMATH_H #define Py_PYMATH_H #include "pyconfig.h" /* include for defines */ /************************************************************************** Symbols and macros to supply platform-independent interfaces to mathematical functions and constants **************************************...
/content/code_sandbox/android/python27/include/pymath.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
1,708
```objective-c #ifndef Py_MODSUPPORT_H #define Py_MODSUPPORT_H #ifdef __cplusplus extern "C" { #endif /* Module support interface */ #include <stdarg.h> /* If PY_SSIZE_T_CLEAN is defined, each functions treats #-specifier to mean Py_ssize_t */ #ifdef PY_SSIZE_T_CLEAN #define PyArg_Parse _PyArg_Parse_SizeT #def...
/content/code_sandbox/android/python27/include/modsupport.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
1,353
```objective-c /* Tuple object interface */ #ifndef Py_TUPLEOBJECT_H #define Py_TUPLEOBJECT_H #ifdef __cplusplus extern "C" { #endif /* Another generally useful object type is a tuple of object pointers. For Python, this is an immutable type. C code can change the tuple items (but not their number), and even use tu...
/content/code_sandbox/android/python27/include/tupleobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
523
```objective-c /* Boolean object interface */ #ifndef Py_BOOLOBJECT_H #define Py_BOOLOBJECT_H #ifdef __cplusplus extern "C" { #endif typedef PyIntObject PyBoolObject; PyAPI_DATA(PyTypeObject) PyBool_Type; #define PyBool_Check(x) (Py_TYPE(x) == &PyBool_Type) /* Py_False and Py_True are the only two bools in existe...
/content/code_sandbox/android/python27/include/boolobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
230
```objective-c /* Parser-tokenizer link interface */ #ifndef Py_PARSETOK_H #define Py_PARSETOK_H #ifdef __cplusplus extern "C" { #endif typedef struct { int error; const char *filename; int lineno; int offset; char *text; int token; int expected; } perrdetail; #if 0 #define PyPARSE_YIELD...
/content/code_sandbox/android/python27/include/parsetok.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
399
```objective-c /* Unicode name database interface */ #ifndef Py_UCNHASH_H #define Py_UCNHASH_H #ifdef __cplusplus extern "C" { #endif /* revised ucnhash CAPI interface (exported through a "wrapper") */ #define PyUnicodeData_CAPSULE_NAME "unicodedata.ucnhash_CAPI" typedef struct { /* Size of this struct */ ...
/content/code_sandbox/android/python27/include/ucnhash.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
244
```objective-c /* Complex number structure */ #ifndef Py_COMPLEXOBJECT_H #define Py_COMPLEXOBJECT_H #ifdef __cplusplus extern "C" { #endif typedef struct { double real; double imag; } Py_complex; /* Operations on complex numbers from complexmodule.c */ #define c_sum _Py_c_sum #define c_diff _Py_c_diff #defi...
/content/code_sandbox/android/python27/include/complexobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
436
```objective-c /* Interfaces to parse and execute pieces of python code */ #ifndef Py_PYTHONRUN_H #define Py_PYTHONRUN_H #ifdef __cplusplus extern "C" { #endif #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \ CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \ ...
/content/code_sandbox/android/python27/include/pythonrun.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
1,885
```objective-c #ifndef Py_STRCMP_H #define Py_STRCMP_H #ifdef __cplusplus extern "C" { #endif PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); #if defined(MS_WINDOWS) || defined(PYOS_OS2) #define PyOS_strnicmp strnicmp #define PyOS_s...
/content/code_sandbox/android/python27/include/pystrcmp.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
137
```objective-c /* ByteArray object interface */ #ifndef Py_BYTEARRAYOBJECT_H #define Py_BYTEARRAYOBJECT_H #ifdef __cplusplus extern "C" { #endif #include <stdarg.h> /* Type PyByteArrayObject represents a mutable array of bytes. * The Python API is that of a sequence; * the bytes are mapped to ints in [0, 256). * ...
/content/code_sandbox/android/python27/include/bytearrayobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
447
```objective-c #ifndef Py_PYPORT_H #define Py_PYPORT_H #include "pyconfig.h" /* include for defines */ /* Some versions of HP-UX & Solaris need inttypes.h for int32_t, INT32_MAX, etc. */ #ifdef HAVE_INTTYPES_H #include <inttypes.h> #endif #ifdef HAVE_STDINT_H #include <stdint.h> #endif /*************************...
/content/code_sandbox/android/python27/include/pyport.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
7,974
```objective-c /* Tuple object interface */ #ifndef Py_STRUCTSEQ_H #define Py_STRUCTSEQ_H #ifdef __cplusplus extern "C" { #endif typedef struct PyStructSequence_Field { char *name; char *doc; } PyStructSequence_Field; typedef struct PyStructSequence_Desc { char *name; char *doc; struct PyStructSequence_Field *...
/content/code_sandbox/android/python27/include/structseq.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
214
```objective-c #ifndef Py_PYDEBUG_H #define Py_PYDEBUG_H #ifdef __cplusplus extern "C" { #endif PyAPI_DATA(int) Py_DebugFlag; PyAPI_DATA(int) Py_VerboseFlag; PyAPI_DATA(int) Py_InteractiveFlag; PyAPI_DATA(int) Py_InspectFlag; PyAPI_DATA(int) Py_OptimizeFlag; PyAPI_DATA(int) Py_NoSiteFlag; PyAPI_DATA(int) Py_BytesWarn...
/content/code_sandbox/android/python27/include/pydebug.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
383
```objective-c /* The PyMem_ family: low-level memory allocation interfaces. See objimpl.h for the PyObject_ memory family. */ #ifndef Py_PYMEM_H #define Py_PYMEM_H #include "pyport.h" #ifdef __cplusplus extern "C" { #endif /* BEWARE: Each interface exports both functions and macros. Extension modules shou...
/content/code_sandbox/android/python27/include/pymem.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
1,215
```objective-c /* pyconfig.h. Generated from pyconfig.h.in by configure. */ /* pyconfig.h.in. Generated from configure.ac by autoheader. */ #ifndef Py_PYCONFIG_H #define Py_PYCONFIG_H /* Define if building universal (internal helper macro) */ /* #undef AC_APPLE_UNIVERSAL_BUILD */ /* Define for AIX if your comp...
/content/code_sandbox/android/python27/include/pyconfig_x86.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
10,405
```objective-c #ifndef Py_OBJECT_H #define Py_OBJECT_H #ifdef __cplusplus extern "C" { #endif /* Object and type object interface */ /* Objects are structures allocated on the heap. Special rules apply to the use of objects to ensure they are properly garbage-collected. Objects are never allocated statically or on ...
/content/code_sandbox/android/python27/include/object.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
9,184
```objective-c /* Definitions for bytecode */ #ifndef Py_CODE_H #define Py_CODE_H #ifdef __cplusplus extern "C" { #endif /* Bytecode object */ typedef struct { PyObject_HEAD int co_argcount; /* #arguments, except *args */ int co_nlocals; /* #local variables */ int co_stacksize; /* #entries needed f...
/content/code_sandbox/android/python27/include/code.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
1,013
```objective-c #ifndef Py_OSDEFS_H #define Py_OSDEFS_H #ifdef __cplusplus extern "C" { #endif /* Operating system dependencies */ /* Mod by chrish: QNX has WATCOM, but isn't DOS */ #if !defined(__QNX__) #if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(PYOS_OS2...
/content/code_sandbox/android/python27/include/osdefs.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
295
```objective-c /* Memory view object. In Python this is available as "memoryview". */ #ifndef Py_MEMORYOBJECT_H #define Py_MEMORYOBJECT_H #ifdef __cplusplus extern "C" { #endif PyAPI_DATA(PyTypeObject) PyMemoryView_Type; #define PyMemoryView_Check(op) (Py_TYPE(op) == &PyMemoryView_Type) /* Get a pointer to the unde...
/content/code_sandbox/android/python27/include/memoryobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
638
```objective-c /* Interface for marshal.c */ #ifndef Py_MARSHAL_H #define Py_MARSHAL_H #ifdef __cplusplus extern "C" { #endif #define Py_MARSHAL_VERSION 2 PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int); PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int); PyAPI_FUNC(PyObject *) PyMa...
/content/code_sandbox/android/python27/include/marshal.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
174
```objective-c /* Generated by Parser/pgen */ #define single_input 256 #define file_input 257 #define eval_input 258 #define decorator 259 #define decorators 260 #define decorated 261 #define funcdef 262 #define parameters 263 #define varargslist 264 #define fpdef 265 #define fplist 266 #define stmt 267 #define simple...
/content/code_sandbox/android/python27/include/graminit.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
515
```objective-c /* Range object interface */ #ifndef Py_RANGEOBJECT_H #define Py_RANGEOBJECT_H #ifdef __cplusplus extern "C" { #endif /* This is about the type 'xrange', not the built-in function range(), which returns regular lists. */ /* A range object represents an integer range. This is an immutable object; ...
/content/code_sandbox/android/python27/include/rangeobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
156
```objective-c #ifndef Py_PYTHREAD_H #define Py_PYTHREAD_H typedef void *PyThread_type_lock; typedef void *PyThread_type_sema; #ifdef __cplusplus extern "C" { #endif PyAPI_FUNC(void) PyThread_init_thread(void); PyAPI_FUNC(long) PyThread_start_new_thread(void (*)(void *), void *); PyAPI_FUNC(void) PyThread_exit_thre...
/content/code_sandbox/android/python27/include/pythread.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
293
```objective-c #ifndef Py_STRTOD_H #define Py_STRTOD_H #ifdef __cplusplus extern "C" { #endif PyAPI_FUNC(double) PyOS_ascii_strtod(const char *str, char **ptr); PyAPI_FUNC(double) PyOS_ascii_atof(const char *str); /* Deprecated in 2.7 and 3.1. Will disappear in 2.8 (if it exists) and 3.2 */ PyAPI_FUNC(char *) PyOS_...
/content/code_sandbox/android/python27/include/pystrtod.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
375
```objective-c /* Capsule objects let you wrap a C "void *" pointer in a Python object. They're a way of passing data through the Python interpreter without creating your own custom type. Capsules are used for communication between extension modules. They provide a way for an extension module to export a...
/content/code_sandbox/android/python27/include/pycapsule.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
417
```objective-c /* String (str/bytes) object interface */ #ifndef Py_STRINGOBJECT_H #define Py_STRINGOBJECT_H #ifdef __cplusplus extern "C" { #endif #include <stdarg.h> /* Type PyStringObject represents a character string. An extra zero byte is reserved at the end to ensure it is zero-terminated, but a size is pres...
/content/code_sandbox/android/python27/include/stringobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
1,848
```objective-c /* Frame object interface */ #ifndef Py_FRAMEOBJECT_H #define Py_FRAMEOBJECT_H #ifdef __cplusplus extern "C" { #endif typedef struct { int b_type; /* what kind of block this is */ int b_handler; /* where to jump to find handler */ int b_level; /* value stack level to pop to */ } PyTryB...
/content/code_sandbox/android/python27/include/frameobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
806
```objective-c /* Function object interface */ #ifndef Py_FUNCOBJECT_H #define Py_FUNCOBJECT_H #ifdef __cplusplus extern "C" { #endif /* Function objects and code objects should not be confused with each other: * * Function objects are created by the execution of the 'def' statement. * They reference a code objec...
/content/code_sandbox/android/python27/include/funcobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
699
```objective-c /* ** pymactoolbox.h - globals defined in mactoolboxglue.c */ #ifndef Py_PYMACTOOLBOX_H #define Py_PYMACTOOLBOX_H #ifdef __cplusplus extern "C" { #endif #include <Carbon/Carbon.h> #ifndef __LP64__ #include <QuickTime/QuickTime.h> #endif /* !__LP64__ */ /* ** Helper routines for error codes and such. ...
/content/code_sandbox/android/python27/include/pymactoolbox.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
1,957
```objective-c #ifndef Py_LONGINTREPR_H #define Py_LONGINTREPR_H #ifdef __cplusplus extern "C" { #endif /* This is published for the benefit of "friend" marshal.c only. */ /* Parameters of the long integer representation. There are two different sets of parameters: one set for 30-bit digits, stored in an unsigne...
/content/code_sandbox/android/python27/include/longintrepr.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
1,033
```objective-c #ifndef Py_PYGETOPT_H #define Py_PYGETOPT_H #ifdef __cplusplus extern "C" { #endif PyAPI_DATA(int) _PyOS_opterr; PyAPI_DATA(int) _PyOS_optind; PyAPI_DATA(char *) _PyOS_optarg; PyAPI_FUNC(void) _PyOS_ResetGetOpt(void); PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring); #ifdef __cplu...
/content/code_sandbox/android/python27/include/pygetopt.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
111
```objective-c #ifndef Py_CEVAL_H #define Py_CEVAL_H #ifdef __cplusplus extern "C" { #endif /* Interface to random parts in ceval.c */ PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( PyObject *, PyObject *, PyObject *); /* Inline this */ #define PyEval_CallObject(func,arg) \ PyEval_CallObjectWithKeywo...
/content/code_sandbox/android/python27/include/ceval.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
1,182
```objective-c /* Float object interface */ /* PyFloatObject represents a (double precision) floating point number. */ #ifndef Py_FLOATOBJECT_H #define Py_FLOATOBJECT_H #ifdef __cplusplus extern "C" { #endif typedef struct { PyObject_HEAD double ob_fval; } PyFloatObject; PyAPI_DATA(PyTypeObject) PyFloat_Ty...
/content/code_sandbox/android/python27/include/floatobject.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
1,449
```objective-c #ifndef Py_INTRCHECK_H #define Py_INTRCHECK_H #ifdef __cplusplus extern "C" { #endif PyAPI_FUNC(int) PyOS_InterruptOccurred(void); PyAPI_FUNC(void) PyOS_InitInterrupts(void); PyAPI_FUNC(void) PyOS_AfterFork(void); #ifdef __cplusplus } #endif #endif /* !Py_INTRCHECK_H */ ```
/content/code_sandbox/android/python27/include/intrcheck.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
77
```objective-c /* datetime.h */ #ifndef DATETIME_H #define DATETIME_H #ifdef __cplusplus extern "C" { #endif /* Fields are packed into successive bytes, each viewed as unsigned and * big-endian, unless otherwise noted: * * byte offset * 0 year 2 bytes, 1-9999 * 2 month 1 byte, 1-12...
/content/code_sandbox/android/python27/include/datetime.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
2,155
```objective-c /* The PyObject_ memory family: high-level object memory interfaces. See pymem.h for the low-level PyMem_ family. */ #ifndef Py_OBJIMPL_H #define Py_OBJIMPL_H #include "pymem.h" #ifdef __cplusplus extern "C" { #endif /* BEWARE: Each interface exports both functions and macros. Extension modu...
/content/code_sandbox/android/python27/include/objimpl.h
objective-c
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
3,360
```python import unreal_engine as ue from unreal_engine.classes import PyFbxFactory, TextureFactory, Material, Actor from unreal_engine import FVector, FRotator from unreal_engine.enums import EFBXImportType import os.path import time # in which content folder to store the new assets kaiju_destination = '/Game/Kaiju' ...
/content/code_sandbox/examples/kaiju_builder.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
1,347
```python import unreal_engine as ue from unreal_engine.classes import Blueprint, K2Node_DynamicCast, Actor, Object from unreal_engine.structs import EdGraphPinType from unreal_engine.enums import EEdGraphPinDirection bp_foo = ue.load_object(Blueprint, '/Game/Foo.Foo') bp_bar = ue.load_object(Blueprint, '/Game/Bar.Bar...
/content/code_sandbox/examples/blueprint_dynamic_cast.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
243
```python # the Sequencer API support has been sponsored by Matthew Whelan (path_to_url import unreal_engine as ue from unreal_engine.classes import MovieSceneAudioTrack, LevelSequenceFactoryNew, MovieSceneSkeletalAnimationTrack, Character, SkeletalMesh, MovieScene3DTransformTrack, CineCameraActor, AnimSequence import...
/content/code_sandbox/examples/sequencer_scripting.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
997
```python import unreal_engine as ue from unreal_engine.classes import Material, BlueprintFactory, Blueprint, Actor, Texture2D, SkeletalMesh from unreal_engine.structs import EdGraphPinType, Vector, Rotator, EdGraphTerminalType from unreal_engine.enums import EPinContainerType import time bp = ue.create_blueprint(Ac...
/content/code_sandbox/examples/blueprint_variables.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
406
```python import unreal_engine as ue from unreal_engine.classes import StaticMesh from unreal_engine import SWindow, SScrollBox, SVerticalBox, SHorizontalBox, SImage, STextBlock, FARFilter from unreal_engine.enums import EPixelFormat _filter = FARFilter() _filter.class_names = ['StaticMesh'] thumbnails = [] for stat...
/content/code_sandbox/examples/thumbnail_viewer.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
236
```python from unreal_engine import FSlowTask import time # Create an FSlowTask object, defining the amount of work that # will be done, and the initial message. t = FSlowTask(10, "Doing Something") t.initialize() # Make the dialog, and include a Cancel button (default is not to # allow a cancel button). t.make_dialo...
/content/code_sandbox/examples/slow_task.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
193
```python from unreal_engine import SWindow, SBox, SPythonComboBox, STextBlock, SBorder, SVerticalBox, SEditableTextBox, SHorizontalBox, SButton from unreal_engine.enums import EHorizontalAlignment, EVerticalAlignment from unreal_engine import FLinearColor from unreal_engine.structs import SlateColor, Margin class Dyn...
/content/code_sandbox/examples/dynamic_combo_box.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
543
```python import unreal_engine as ue from unreal_engine.classes import Object, Blueprint levels = [] level_packages = [] # get all loaded worlds for world in ue.all_worlds(): # retrieve the world levels (first persistent then streaming) levels.append(world.PersistentLevel) level_packages.append(world.Pers...
/content/code_sandbox/examples/get_uobjects_in_loaded_levels.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
264
```python import unreal_engine as ue from unreal_engine import SFilePathPicker, SWindow, FLinearColor from unreal_engine.structs import ButtonStyle, SlateBrush, SlateColor # a style is required for the file picker style = ButtonStyle(Normal=SlateBrush(TintColor=SlateColor(SpecifiedColor=FLinearColor(1, 0, 0)))) wind...
/content/code_sandbox/examples/slate_file_path_picker.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
145
```python import unreal_engine as ue import os import png # run play in the editor and execute this script (with ue.exec) from the python console width, height = ue.editor_get_pie_viewport_size() pixels = ue.editor_get_pie_viewport_screenshot() ue.log("{0} {1} {2}".format(width, height, len(pixels))) png_pixels = [...
/content/code_sandbox/examples/pie_screenshotter.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
167
```python import unreal_engine as ue for viewport_client in ue.all_viewport_clients(): print(viewport_client.get_world().get_name()) origin, size = viewport_client.get_viewport_dimensions() print(viewport_client.get_look_at_location()) print(viewport_client.get_view_location()) ```
/content/code_sandbox/examples/viewport_manager.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
60
```python from unreal_engine import SWindow, SProgressBar, SButton, SVerticalBox import unreal_engine as ue progress_bar = SProgressBar() canceled = False def cancel_operation(): global canceled ue.log_warning('slow operation canceled') canceled = True SWindow(title='slow task', sizing_rule=1)( SVer...
/content/code_sandbox/examples/slow_task_with_progress_bar.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
151
```python import unreal_engine as ue from unreal_engine.classes import ParticleSystem for i in range(0, 10): # create a particle system particle_system = ParticleSystem() # give it a name particle_system.set_name('ParticleSystem{0}'.format(i)) # save it into a package particle_system.save_package('/Game/FunnyPar...
/content/code_sandbox/examples/mass_renamer.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
165
```python from unreal_engine import FbxManager, FbxIOSettings, FbxImporter, FbxScene import unreal_engine as ue class FbxCurvesExtractor: def __init__(self, filename): self.manager = FbxManager() io_settings = FbxIOSettings(self.manager, 'IOSROOT') self.manager.set_io_settings(io_settings)...
/content/code_sandbox/examples/fbx_curves_extractor.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
612
```python import unreal_engine as ue from unreal_engine.classes import PawnSensingComponent actor = ue.editor_get_selected_actors()[0] component = actor.add_actor_component(PawnSensingComponent, 'Foo') actor.add_instance_component(component) actor.modify() ```
/content/code_sandbox/examples/add_instance_component.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
52
```python import unreal_engine as ue from unreal_engine import SWindow, SButton, STextBlock, SEditableTextBox, SMultiLineEditableText, SGridPanel, SHorizontalBox, SPythonEditorViewport from unreal_engine.classes import Blueprint def clicked(geometry, pointer_event): ue.log('Hello') ue.log(geometry.fields()) ...
/content/code_sandbox/examples/slate_example.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
299
```python import unreal_engine as ue from unreal_engine.structs import EdGraphPinType world = ue.get_editor_world() level_bp = world.CurrentLevel.get_level_script_blueprint() pin = EdGraphPinType(PinCategory='string') ue.blueprint_add_member_variable(level_bp, 'TestString', pin) ue.open_editor_for_asset(level_bp) ```
/content/code_sandbox/examples/edit_level_blueprint.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
71
```python import unreal_engine as ue from unreal_engine import FSlateIcon, FSlateStyleSet, FLinearColor from unreal_engine.structs import SlateBrush, SlateColor, Vector2D # this code must be in ue_site.py, extenders must be registered during editor startup phase !!! # we create a new StyleSet to register a new Icon ...
/content/code_sandbox/examples/extenders_example.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
474
```python from unreal_engine.classes import StaticMesh from unreal_engine.structs import StaticMeshSourceModel, MeshBuildSettings from unreal_engine import FRawMesh import time import unreal_engine as ue import itertools # this is a static mesh importer script using niftools (path_to_url from pyffi.formats.nif impor...
/content/code_sandbox/examples/builder_nif.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
579
```python import unreal_engine as ue from unreal_engine.classes import BlueprintFactory, DirectionalLightComponent, K2Node_Event import time # create new blueprint from factory bpFactory = BlueprintFactory() bp = bpFactory.factory_create_new('/Game/test' + str(int(time.time()))) # add intensity variable intensity = ...
/content/code_sandbox/examples/blueprint_example_generator.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
446
```python import unreal_engine as ue from unreal_engine import FVector from unreal_engine.classes import Actor, Pawn, Character, ProjectileMovementComponent, PawnSensingComponent, StaticMesh from unreal_engine.classes import StaticMeshComponent, StaticMeshActor, PointLightComponent world = ue.get_editor_world() # in...
/content/code_sandbox/examples/editor_scripting001.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
514
```python import unreal_engine as ue from unreal_engine.classes import EditorAssetLibrary asset = ue.get_selected_assets()[0] # reflection-based api EditorAssetLibrary.SetMetadataTag(asset, 'Foo', 'Bar') for value in EditorAssetLibrary.GetMetadataTagValues(asset): print(value) print(EditorAssetLibrary.GetMetadata...
/content/code_sandbox/examples/asset_metadata_tag.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
131
```python import unreal_engine as ue from unreal_engine.classes import ActorComponent class FooComponent(ActorComponent): def __init__(self): ue.log('Ctor') def DoSomething(): ue.print_string('TEST !!!') FooComponent.set_metadata('BlueprintType', 'true') FooComponent.set_metadata('BlueprintS...
/content/code_sandbox/examples/register_new_native_component.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
94
```python import unreal_engine as ue for _asset in ue.get_all_edited_assets(): editor = ue.find_editor_for_asset(_asset) print('{0} - {1}'.format(editor.get_editor_name(), editor.get_last_activation_time())) editor.focus_window() ```
/content/code_sandbox/examples/asset_editors.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
55
```python import unreal_engine as ue from unreal_engine.classes import PyFbxFactory, Skeleton from unreal_engine.enums import EFBXImportType import os base_directory = 'D:/Users/rober/Downloads/mixamo' # get a reference to the skeleton skeleton = ue.load_object(Skeleton, '/Game/run_Skeleton') factory = PyFbxFactor...
/content/code_sandbox/examples/import_fbx_animations_from_dir.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
144
```python from PIL import Image import unreal_engine as ue from unreal_engine.classes import Texture2D def rotate_selected_assets_data(degrees): for asset in ue.get_selected_assets(): if asset.is_a(Texture2D): data = asset.texture_get_source_data() size = (asset.texture...
/content/code_sandbox/examples/rotate_texture.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
115
```python import unreal_engine as ue from unreal_engine.classes import GroupActor import time world = ue.get_editor_world() group_actor = world.actor_spawn(GroupActor) for folder in world.world_folders(): print(folder) new_folder = 'FooBar_{}'.format(int(time.time())) world.world_create_folder(new_folder) wor...
/content/code_sandbox/examples/world_folders_and_groups.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
135
```python import unreal_engine as ue from unreal_engine.classes import Object, StrProperty, IntProperty from unreal_engine import CLASS_CONFIG, CLASS_DEFAULT_CONFIG, CPF_CONFIG def config(arg): config_name = None def wrapper(u_class): cflags = u_class.class_get_flags() u_class.class_set_flags(...
/content/code_sandbox/examples/custom_settings.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
305
```python import unreal_engine as ue from unreal_engine import FARFilter _filter = FARFilter() _filter.class_names = ['StaticMesh'] # when passing True to the second argument of get_assets_by_filter(), you will get FAssetData instead of UObject for asset_data in ue.get_assets_by_filter(_filter, True): has_custom_...
/content/code_sandbox/examples/fasset_data_thumbnails.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
160
```python import unreal_engine as ue from unreal_engine.classes import K2Node_InputKey, K2Node_SpawnActorFromClass, Actor, Character, KismetMathLibrary from unreal_engine.structs import Key # create a new blueprint new_blueprint = ue.create_blueprint(Actor, '/Game/StrangeBlueprint') # add a member float variable ue....
/content/code_sandbox/examples/graphs_creator.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
489
```python import unreal_engine as ue from unreal_engine import FSlateApplication from unreal_engine.classes import GameViewportClient def iterate_window(window): print(window.get_title()) for child in window.get_child_windows(): iterate_window(child) # get the active top level window top_window = FSla...
/content/code_sandbox/examples/get_windows.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
179
```python import unreal_engine as ue from unreal_engine.structs import KAggregateGeom mesh = ue.get_selected_assets()[0] mesh.BodySetup.AggGeom = KAggregateGeom() mesh.static_mesh_generate_kdop26() mesh.static_mesh_generate_kdop18() mesh.static_mesh_generate_kdop10x() mesh.static_mesh_generate_kdop10y() mesh.static...
/content/code_sandbox/examples/kdop.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
85
```python from unreal_engine.classes import Character class Hero(Character): def __init__(self): self.CapsuleComponent.CapsuleRadius = 117 self.CapsuleComponent.CapsuleHalfHeight = 200 # BodyInstance is a USTRUCT (they are always passed as value) body_instance = self.CapsuleCompon...
/content/code_sandbox/examples/subclassing_simple_example.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
136
```python import unreal_engine as ue from unreal_engine.classes import CurveFloatFactory, CurveVectorFactory from unreal_engine.structs import RichCurve, RichCurveKey import time factory = CurveFloatFactory() curve = factory.factory_create_new('/Game/CustomFloatCurve' + str(int(time.time()))) keys = [] for i in ran...
/content/code_sandbox/examples/curve_generator.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
327
```python import unreal_engine as ue from unreal_engine.classes import Image, CanvasPanelSlot, TextBlock, WidgetBlueprintFactory from unreal_engine.structs import AnchorData, Anchors, Vector2D, Margin import time widget = WidgetBlueprintFactory().factory_create_new( "/Game/W_MyWidgetBlueprint" + str(int(time.time())...
/content/code_sandbox/examples/widget_blueprint_generator.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
256
```python import unreal_engine as ue from unreal_engine.classes import AutomatedLevelSequenceCapture, World from unreal_engine.structs import SoftObjectPath level_sequence_mappings = { '/Game/SequenceForDefault001': '/Game/Default001', '/Game/SequenceForVR001': '/Game/VR001' } def setup_sequence(capture): ...
/content/code_sandbox/examples/multi_in_editor_capture.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
148
```python import unreal_engine as ue from unreal_engine.classes import StructureFactory from unreal_engine.structs import StructVariableDescription, EdGraphTerminalType from unreal_engine.enums import EPinContainerType from unreal_engine.classes import Pawn, Actor from unreal_engine.structs import Vector, Rotator, Tr...
/content/code_sandbox/examples/create_user_defined_struct.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
618
```python import unreal_engine as ue def open_submenu001(builder): builder.begin_section('submenu001', 'i am a tooltip') builder.add_menu_entry('sub_one', 'tooltip', lambda: ue.log('hello from submenu001')) builder.add_menu_entry('sub_one_2', 'tooltip 2', lambda: ue.log('hello again')) builder.end_sect...
/content/code_sandbox/examples/sub_menu.py
python
2016-08-07T05:00:51
2024-08-14T06:32:20
UnrealEnginePython
20tab/UnrealEnginePython
2,715
316
```batchfile @if "%DEBUG%" == "" @echo off @rem ########################################################################## @rem @rem Gradle startup script for Windows @rem @rem ########################################################################## @rem Set local scope for the variables with windows NT shell if "%...
/content/code_sandbox/gradlew.bat
batchfile
2016-06-14T11:34:35
2024-08-14T04:14:09
Spotlight
29jitender/Spotlight
1,272
632
```qmake # Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in /Users/jitender/Downloads/adt-bundle-mac-x86_64-20140702/sdk/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the proguardFiles # directive in build.gra...
/content/code_sandbox/Spotlight-library/proguard-rules.pro
qmake
2016-06-14T11:34:35
2024-08-14T04:14:09
Spotlight
29jitender/Spotlight
1,272
154
```java package com.wooplr.spotlight; import android.graphics.Color; import android.graphics.Typeface; import com.wooplr.spotlight.utils.Utils; /** * Created by jitender on 14/06/16. */ public class SpotlightConfig { private int maskColor; private long introAnimationDuration; private boolean isRevealA...
/content/code_sandbox/Spotlight-library/src/main/java/com/wooplr/spotlight/SpotlightConfig.java
java
2016-06-14T11:34:35
2024-08-14T04:14:09
Spotlight
29jitender/Spotlight
1,272
1,353
```java package com.wooplr.spotlight.target; import android.graphics.Point; import android.graphics.Rect; import android.view.View; /** * Created by jitender on 10/06/16. */ public interface Target { Point getPoint(); Rect getRect(); View getView(); int getViewLeft(); int getViewRight(); ...
/content/code_sandbox/Spotlight-library/src/main/java/com/wooplr/spotlight/target/Target.java
java
2016-06-14T11:34:35
2024-08-14T04:14:09
Spotlight
29jitender/Spotlight
1,272
91
```java package com.wooplr.spotlight.target; /** * Adapted from github.com/dupengtao/LineAnimation */ public class AnimPoint { private float curX; private float curY; private float moveX; private float moveY; public AnimPoint(float curX, float curY, float moveX, float moveY) { this.curX ...
/content/code_sandbox/Spotlight-library/src/main/java/com/wooplr/spotlight/target/AnimPoint.java
java
2016-06-14T11:34:35
2024-08-14T04:14:09
Spotlight
29jitender/Spotlight
1,272
266