This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
# 20190825 rewrite | |
import sys | |
import array | |
import ctypes | |
import struct | |
from typing import Any | |
from OpenGL.GL import * | |
from OpenGL.GLUT import * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
[ExecuteInEditMode] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.IO; | |
using System; | |
using System.Linq; | |
using System.Text; | |
using System.Collections.Generic; | |
using System.Collections; | |
public class FFMpegYUV4Texture : MonoBehaviour | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
[RequireComponent(typeof(Camera))] | |
public class CameraGizmoDrawer : MonoBehaviour | |
{ | |
Camera m_camera; | |
void OnDrawGizmos() | |
{ | |
if (m_camera == null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
[RequireComponent(typeof(BoxCollider))] | |
public class CanvasPlaceHolder : MonoBehaviour { | |
[SerializeField] | |
RectTransform Target; | |
[SerializeField] | |
bool EnableGizmo = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0]Spine Front-Back | |
[1]Spine Left-Right | |
[2]Spine Twist Left-Right | |
[3]Chest Front-Back | |
[4]Chest Left-Right | |
[5]Chest Twist Left-Right | |
[6]UpperChest Front-Back | |
[7]UpperChest Left-Right | |
[8]UpperChest Twist Left-Right | |
[9]Neck Nod Down-Up |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine; | |
public class Retargetting : MonoBehaviour { | |
[SerializeField] | |
Retargetting Source; | |
Animator m_animator; | |
HumanPoseHandler m_handler; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# setup | |
# | |
# > npm init -y | |
# > npm install coffee-script gulp-load-plugins browser-sync sprintf -D | |
# > gulp init | |
gulp = require('gulp') | |
$ = require('gulp-load-plugins')() | |
browserSync = require('browser-sync').create() | |
fs = require('fs') | |
path = require('path') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Reactive.Bindings; | |
using System; | |
using System.Collections; | |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
using System.Reactive.Concurrency; | |
using System.Reactive.Linq; | |
using System.Threading; | |
using System.Windows.Input; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ReadContext : IDisposable | |
{ | |
public Stream Stream { get; private set; } | |
public Subject<Byte[]> Subject { get; private set; } | |
public Byte[] Buffer { get; private set; } | |
public Exception Error { get; private set; } | |
public DateTimeOffset Start { get; private set; } | |
public DateTimeOffset End { get; private set; } |