Note: This setup is not using
virtualenv
since I didn't get that to work for building.
- install Xcode from App Store
- alternative: only install the Xcode Command Line Utilities
- install official CMake
- at time of writing: Direct download link
// Unity hashes PlayerPref names to make them case-sensitive | |
// (Windows Registry isn't case sensitive otherwise) | |
private static string ToKey(string prefName) | |
{ | |
return prefName + "_h" + Hash(prefName); | |
} | |
// djb2-xor hash method | |
private static uint Hash(string str) |
<!-- Original URL: https://prefrontalcortex.de/labs/model-viewer/upload/Tyrlefing/ --> | |
<!-- Twitter Card, also unfurls in Slack/Discord etc. --> | |
<meta name="twitter:card" content="player" /> | |
<meta name="twitter:site" content="hybridherbst" /> | |
<meta name="twitter:player" content="https://prefrontalcortex.de/labs/model-viewer/upload/Tyrlefing/index.html" /> | |
<meta name="twitter:player:width" content="480" /> | |
<meta name="twitter:player:height" content="480" /> | |
<meta property="og:image" content="https://prefrontalcortex.de/labs/model-viewer/upload/Tyrlefing/20211100-231259-poster.webp" /> | |
<meta property="og:title" content="Tyrlefing" /> |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEngine.Playables; | |
namespace Needle.AnimationUtils | |
{ | |
public class VisualizeMotionTrajectories : MonoBehaviour |
def "_materials" | |
{ | |
def Material "Suzanne" | |
{ | |
token outputs:surface.connect = </_materials/Suzanne/preview/Principled_BSDF.outputs:surface> | |
def Scope "preview" | |
{ | |
def Shader "Principled_BSDF" | |
{ |
/** | |
* @license | |
* webxr-ios-js | |
* Copyright (c) 2019 Mozilla Inc. All Rights Reserved. | |
* | |
* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at https://mozilla.org/MPL/2.0/. | |
*/ |
Note: This setup is not using
virtualenv
since I didn't get that to work for building.