Commit bc7d8b7e authored by 13정준영's avatar 13정준영

added level parsing

parent c44545c1
......@@ -5,8 +5,6 @@
[Bb]uilds/
Assets/AssetStoreTools*
resources
# Visual Studio cache directory
.vs/
......
fileFormatVersion: 2
guid: 4db589ffc5bd1fe4aa0302d48e45c4cb
guid: 476466ff3c47fa147b5463302fe48550
folderAsset: yes
DefaultImporter:
externalObjects: {}
......
fileFormatVersion: 2
guid: 09ee860569e97274bbde2fdbfe7d8305
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
fileFormatVersion: 2
guid: 902bbdf1e37cea640b6168c6f0772ddb
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: ee6f618bc43a08e44b3b2906bfdcf282, type: 3}
This diff is collapsed.
fileFormatVersion: 2
guid: f52979cf2adbf454986d5f1e929feb3b
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -6,99 +6,126 @@ using System.Text.RegularExpressions;
using System.Threading.Tasks;
using UnityEngine;
class BMS
namespace Core
{
// metadata
class BMS
{
// metadata
public string title;
public double bpm;
public string genre;
public string author;
public string title;
public double bpm;
public string genre;
public string author;
public List<BmsNote> notes = new List<BmsNote>();
public List<BmsNote> notes = new List<BmsNote>();
public Level ToLevel()
{
return new Level();
}
}
public Level ToLevel()
{
var level = new Level();
class BmsNote
{
public string num;
public string lane;
public double barTime;
}
// sort all notes
notes.Sort((note1, note2) =>
{
var diff = note1.barTime - note2.barTime;
if (diff < 0)
return -1;
else if (diff == 0)
return 0;
else
return 1;
});
// convert all bms note to level note
foreach (var note in notes)
{
var levelNote = Note.Create(note);
class BmsParser
{
private static char[] SEP_NEWLINE = { '\n' };
private static char[] SEP_SPACE = { ' ' };
private static char[] SEP_COLON = { ':' };
if (levelNote != null)
level.AddNote(levelNote);
}
return level;
}
}
private static Regex RX_DATALINE = new Regex(@"#[0-9]{5}");
class BmsNote
{
public string num;
public string lane;
public double barTime;
}
public BMS Parse(string raw)
class BmsParser
{
var lines = raw.Split(SEP_NEWLINE);
private static char[] SEP_NEWLINE = { '\n' };
private static char[] SEP_SPACE = { ' ' };
private static char[] SEP_COLON = { ':' };
var bms = new BMS();
private static Regex RX_DATALINE = new Regex(@"#[0-9]{5}");
foreach (var line in lines)
public BMS Parse(string raw)
{
// metadata
if (line.StartsWith("#TITLE"))
bms.title = line.Substring(line.IndexOf(' ') + 1);
var lines = raw.Split(SEP_NEWLINE);
var bms = new BMS();
if (line.StartsWith("#GENRE"))
bms.genre = line.Substring(line.IndexOf(' ') + 1);
foreach (var line in lines)
{
// metadata
if (line.StartsWith("#TITLE"))
bms.title = line.Substring(line.IndexOf(' ') + 1);
if (line.StartsWith("#BPM"))
bms.bpm = double.Parse(line.Substring(line.IndexOf(' ') + 1));
if (line.StartsWith("#GENRE"))
bms.genre = line.Substring(line.IndexOf(' ') + 1);
if (line.StartsWith("#ARTIST"))
bms.author = line.Substring(line.IndexOf(' ') + 1);
if (line.StartsWith("#BPM"))
bms.bpm = double.Parse(line.Substring(line.IndexOf(' ') + 1));
// data lane
if (RX_DATALINE.IsMatch(line))
{
var bar = int.Parse(line.Substring(1, 3));
var lane = line.Substring(4, 2);
var data = line.Substring(7).Trim();
if (line.StartsWith("#ARTIST"))
bms.author = line.Substring(line.IndexOf(' ') + 1);
// no support for variable bar length or bpm yet
if ((data.Length & 1) == 1 || data.Contains("."))
// data lane
if (RX_DATALINE.IsMatch(line))
{
// ignore these lines
}
var bar = int.Parse(line.Substring(1, 3));
var lane = line.Substring(4, 2);
var data = line.Substring(7).Trim();
var denominator = data.Length / 2;
// no support for variable bar length or bpm yet
if ((data.Length & 1) == 1 || data.Contains("."))
{
// ignore these lines
}
// process notes in the bar
for (int i = 0; i < data.Length; i += 2)
{
var num = line.Substring(i, 2);
var barTime = bar + i / (double)denominator;
var denominator = data.Length / 2;
// ignore empty notes
if (num != "00")
// process notes in the bar
for (int i = 0; i < data.Length; i += 2)
{
var note = new BmsNote();
var num = data.Substring(i, 2);
var barTime = bar + i / (double)denominator;
note.num = num;
note.lane = lane;
note.barTime = barTime;
// ignore empty notes
if (num != "00")
{
var note = new BmsNote();
bms.notes.Add(note);
note.num = num;
note.lane = lane;
note.barTime = barTime;
bms.notes.Add(note);
}
}
}
}
}
Debug.Log(bms.author);
Debug.Log(bms.bpm);
Debug.Log(bms.title);
Debug.Log(bms.genre);
return bms;
Debug.Log(bms.author);
Debug.Log(bms.bpm);
Debug.Log(bms.title);
Debug.Log(bms.genre);
return bms;
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
class Level
namespace Core
{
}
class Level
{
private Queue<Note> notes = new Queue<Note>();
public void AddNote(Note note)
{
notes.Enqueue(note);
}
}
abstract class Note
{
// define common note properties
public double Time;
public HandType HandType;
protected GameObject gameObject;
// interpret note option
protected abstract void FromBmsNum(String num);
protected abstract GameObject CreateGameObjectImpl();
// instantiate associated game object
public void CreateGameObject()
{
gameObject = CreateGameObjectImpl();
}
// factory method
// may return null if given note is not supported
public static Note Create(BmsNote bn)
{
Note note = null;
HandType handType = HandType.None;
Debug.Log(String.Format("{0}, {1}, {2}", bn.barTime, bn.lane, bn.num));
switch (bn.lane)
{
case "11": // 1p first lane: FORWARD LEFT HAND
note = new ForwardNote();
handType = HandType.Left;
break;
case "12": // 1p second lane: FORWARD RIGHT HAND
note = new ForwardNote();
handType = HandType.Right;
break;
//case "13": // 1p third lane: REAR LEFT HAND
// handType = HandType.Left;
// break;
//case "14": // 1p forth lane: REAR RIGHT HAND
// handType = HandType.Right;
// break;
//case "15": // 1p fifth lane: EDGE LEFT HAND
// handType = HandType.Left;
// break;
//case "16": // 1p sixth lane: EDGE RIGHT HAND
// handType = HandType.Right;
// break;
// add action notes
default:
return null;
}
note.FromBmsNum(bn.num);
note.HandType = handType;
return note;
}
}
class ForwardNote : Note
{
private float x, y;
protected override GameObject CreateGameObjectImpl()
{
throw new NotImplementedException();
}
protected override void FromBmsNum(string num)
{
// since 00 is used for empty notes, 1 ~ Z is valid range
x = charToCoord(num[0]) / 35.0f;
y = charToCoord(num[1]) / 35.0f;
}
private int charToCoord(char a)
{
if (char.IsDigit(a))
{
return a - '1';
}
else if (char.IsLetter(a))
{
return char.ToLower(a) - 'a' + 9;
}
throw new ArgumentException("wrong data");
}
}
class RearNote : Note
{
protected override GameObject CreateGameObjectImpl()
{
throw new NotImplementedException();
}
protected override void FromBmsNum(string num)
{
throw new NotImplementedException();
}
}
class EdgeNote : Note
{
protected override GameObject CreateGameObjectImpl()
{
throw new NotImplementedException();
}
protected override void FromBmsNum(string num)
{
throw new NotImplementedException();
}
}
enum NoteType
{
Front,
Rear,
Edge,
Action
}
enum HandType
{
Left,
Right,
None
}
}
\ No newline at end of file
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
private int _score;
public int Score
{
get { return _score; }
set { _score = value; }
}
private void Start()
{
Note.OnNoteHit += UpdateScore;
}
public void StartStage()
{
}
public void EndStage()
{
}
private void UpdateScore(NoteHitType type, int score)
{
Score += score;
}
}
fileFormatVersion: 2
guid: bb21d21dce589144fb5b75c5c3eb326c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IngameUIManager : MonoBehaviour
{
private void Start()
{
Note.OnNoteHit += OnNoteHit;
}
public void OnNoteHit(NoteHitType type, int score)
{
}
}
fileFormatVersion: 2
guid: af57dbf75a9c3964fb2b4e774606eb80
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum NoteHitType
{
PERFECT,
GOOD,
BAD,
MISS
}
public class Note : MonoBehaviour
{
public static Action<NoteHitType, int> OnNoteHit;
private float noteTimer;
public void NoteHit()
{
OnNoteHit(NoteHitType.PERFECT, 300);
}
public void SetPosition(float remainedTime)
{
}
}
fileFormatVersion: 2
guid: ba63ad3bd063b2242810e4049e106bf2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
......@@ -4,16 +4,27 @@ using UnityEngine;
public class PlayEngine : MonoBehaviour
{
private Core.Level level;
public void Awake()
{
loadAndPlay("Level/test");
LoadAndPlay("Level/test");
}
public void loadAndPlay(string assetPath)
public void LoadAndPlay(string assetPath)
{
Debug.Log(string.Format("LOADING LEVEL: {0}", assetPath));
var raw = Resources.Load<TextAsset>(assetPath);
var bms = new BmsParser().Parse(raw.text);
var bms = new Core.BmsParser().Parse(raw.text);
var level = bms.ToLevel();
this.level = level;
}
private void Update()
{
if (level != null)
{
}
}
}
fileFormatVersion: 2
guid: 7d5e740d15d7ca249b884d30ff558bc1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 16f1e3ee1a373e34ea3a84a7afa0a259
folderAsset: yes
timeCreated: 1547747995
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: aa701b1f3ae438e469d0ad4f122a0633
timeCreated: 1547747996
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 2f8721c3878282b44bd0c8a689d4788c
timeCreated: 1547747995
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 426d721c1fc5bfa418c79dc808856464
timeCreated: 1547747995
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 1e898a11a01f33d4a80b04e98158023a
timeCreated: 1547857461
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 985915d4db439114797fb72a46387d71
timeCreated: 1547857461
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: d1f34261d4655bc4cb5413868ae9bee2
timeCreated: 1547765671
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 2c4294febb4dfe54d98c37083da7a639
timeCreated: 1547765602
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 0f57642ec96c82446a79c525bb70b018
timeCreated: 1547765602
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: e0a60ab44553a7f4ca994dec64351d08
timeCreated: 1547765602
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 4fb892aabe590ec4fb65a57a048a093f
timeCreated: 1547765602
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: c3b3083cc66322049822d98fa4c15fd6
timeCreated: 1547765602
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 764dada5864e19440bb07e24e684e950
timeCreated: 1547765602
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 2
buildTargetSettings: []
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 40af2f692be87864ba388a27fcac9ed8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e90911e410742a1498a167540c7865bf, type: 3}
m_Name: ReferencePose_BindPose
m_EditorClassIdentifier:
leftHand:
inputSource: 1
thumbFingerMovementType: 0
indexFingerMovementType: 0
middleFingerMovementType: 0
ringFingerMovementType: 0
pinkyFingerMovementType: 0
ignoreRootPoseData: 1
ignoreWristPoseData: 1
position: {x: 0.000000059604645, y: 0, z: 0}
rotation: {x: 0, y: -0, z: -0, w: -1}
bonePositions:
- {x: -0, y: 0, z: 0}
- {x: -0.034037687, y: 0.03650266, z: 0.16472164}
- {x: -0.012083233, y: 0.028070247, z: 0.025049694}
- {x: 0.040405963, y: -0.000000051561553, z: 0.000000045447194}
- {x: 0.032516792, y: -0.000000051137583, z: -0.000000012933195}
- {x: 0.030463902, y: 0.00000016269207, z: 0.0000000792839}
- {x: 0.0006324522, y: 0.026866155, z: 0.015001948}
- {x: 0.074204385, y: 0.005002201, z: -0.00023377323}
- {x: 0.043930072, y: 0.000000059567498, z: 0.00000018367103}
- {x: 0.02869547, y: -0.00000009398158, z: -0.00000012649753}
- {x: 0.022821384, y: -0.00000014365155, z: 0.00000007651614}
- {x: 0.0021773134, y: 0.007119544, z: 0.016318738}
- {x: 0.07095288, y: -0.00077883265, z: -0.000997186}
- {x: 0.043108486, y: -0.00000009950596, z: -0.0000000067041825}
- {x: 0.033266045, y: -0.00000001320567, z: -0.000000021670374}
- {x: 0.025892371, y: 0.00000009984198, z: -0.0000000020352908}
- {x: 0.0005134356, y: -0.0065451227, z: 0.016347693}
- {x: 0.06587581, y: -0.0017857892, z: -0.00069344096}
- {x: 0.04069671, y: -0.000000095347104, z: -0.000000022934731}
- {x: 0.028746964, y: 0.00000010089892, z: 0.000000045306827}
- {x: 0.022430236, y: 0.00000010846127, z: -0.000000017428562}
- {x: -0.002478151, y: -0.01898137, z: 0.015213584}
- {x: 0.0628784, y: -0.0028440945, z: -0.0003315112}
- {x: 0.030219711, y: -0.00000003418319, z: -0.00000009332872}
- {x: 0.018186597, y: -0.0000000050220166, z: -0.00000020934549}
- {x: 0.01801794, y: -0.0000000200012, z: 0.0000000659746}
- {x: -0.0060591106, y: 0.05628522, z: 0.060063843}
- {x: -0.04041555, y: -0.043017667, z: 0.019344581}
- {x: -0.03935372, y: -0.07567404, z: 0.047048334}
- {x: -0.038340144, y: -0.09098663, z: 0.08257892}
- {x: -0.031805996, y: -0.08721431, z: 0.12101539}
boneRotations:
- {x: -6.123234e-17, y: 1, z: 6.123234e-17, w: -0.00000004371139}
- {x: -0.078608155, y: -0.92027926, z: 0.3792963, w: -0.055146642}
- {x: -0.46411175, y: -0.623374, z: 0.2721063, w: 0.5674181}
- {x: 0.08293856, y: -0.019454371, z: -0.055129882, w: 0.9948384}
- {x: -0.0032133153, y: -0.021866836, z: 0.22201493, w: 0.9747928}
- {x: -1.3877788e-17, y: -1.3877788e-17, z: -5.551115e-17, w: 1}
- {x: -0.6442515, y: -0.42213318, z: -0.4782025, w: 0.42197865}
- {x: 0.0070068412, y: 0.039123755, z: -0.08794935, w: 0.9953317}
- {x: 0.045808382, y: -0.0021422536, z: 0.0459431, w: 0.9978909}
- {x: 0.0018504566, y: 0.022782495, z: 0.013409463, w: 0.9996488}
- {x: 6.938894e-18, y: 1.9428903e-16, z: -1.348151e-33, w: 1}
- {x: -0.546723, y: -0.46074906, z: -0.44252017, w: 0.54127645}
- {x: -0.16726136, y: 0.0789587, z: -0.06936778, w: 0.9802945}
- {x: 0.018492563, y: -0.013192348, z: -0.05988611, w: 0.99794674}
- {x: -0.003327809, y: 0.028225154, z: 0.066315144, w: 0.9973939}
- {x: 1.1639192e-17, y: -5.602331e-17, z: -0.040125635, w: 0.9991947}
- {x: -0.5166922, y: -0.4298879, z: -0.49554786, w: 0.5501435}
- {x: -0.058696117, y: 0.10181952, z: -0.072495356, w: 0.9904201}
- {x: -0.0022397265, y: -0.0000039300317, z: -0.030081047, w: 0.999545}
- {x: -0.00072132144, y: 0.012692659, z: -0.040420394, w: 0.9991019}
- {x: 6.938894e-18, y: -9.62965e-35, z: -1.3877788e-17, w: 1}
- {x: -0.5269183, y: -0.32674035, z: -0.5840246, w: 0.52394}
- {x: -0.059614867, y: 0.13516304, z: -0.06913207, w: 0.9866093}
- {x: 0.0018961236, y: 0.00013150928, z: -0.10644623, w: 0.99431664}
- {x: -0.00201019, y: 0.052079126, z: 0.073525675, w: 0.99593055}
- {x: 0, y: 0, z: 1.9081958e-17, w: 1}
- {x: 0.20274544, y: 0.59426665, z: 0.2494411, w: 0.73723847}
- {x: 0.6235274, y: -0.66380864, z: -0.29373443, w: -0.29033053}
- {x: 0.6780625, y: -0.6592852, z: -0.26568344, w: -0.18704711}
- {x: 0.7367927, y: -0.6347571, z: -0.14393571, w: -0.18303718}
- {x: 0.7584072, y: -0.6393418, z: -0.12667806, w: -0.0036594148}
rightHand:
inputSource: 2
thumbFingerMovementType: 0
indexFingerMovementType: 0
middleFingerMovementType: 0
ringFingerMovementType: 0
pinkyFingerMovementType: 0
ignoreRootPoseData: 1
ignoreWristPoseData: 1
position: {x: 0, y: 0, z: 0}
rotation: {x: -0, y: -0, z: -0, w: 1}
bonePositions:
- {x: -0, y: 0, z: 0}
- {x: -0.034037687, y: 0.03650266, z: 0.16472164}
- {x: -0.012083233, y: 0.028070247, z: 0.025049694}
- {x: 0.040405963, y: -0.000000051561553, z: 0.000000045447194}
- {x: 0.032516792, y: -0.000000051137583, z: -0.000000012933195}
- {x: 0.030463902, y: 0.00000016269207, z: 0.0000000792839}
- {x: 0.0006324522, y: 0.026866155, z: 0.015001948}
- {x: 0.074204385, y: 0.005002201, z: -0.00023377323}
- {x: 0.043930072, y: 0.000000059567498, z: 0.00000018367103}
- {x: 0.02869547, y: -0.00000009398158, z: -0.00000012649753}
- {x: 0.022821384, y: -0.00000014365155, z: 0.00000007651614}
- {x: 0.0021773134, y: 0.007119544, z: 0.016318738}
- {x: 0.07095288, y: -0.00077883265, z: -0.000997186}
- {x: 0.043108486, y: -0.00000009950596, z: -0.0000000067041825}
- {x: 0.033266045, y: -0.00000001320567, z: -0.000000021670374}
- {x: 0.025892371, y: 0.00000009984198, z: -0.0000000020352908}
- {x: 0.0005134356, y: -0.0065451227, z: 0.016347693}
- {x: 0.06587581, y: -0.0017857892, z: -0.00069344096}
- {x: 0.04069671, y: -0.000000095347104, z: -0.000000022934731}
- {x: 0.028746964, y: 0.00000010089892, z: 0.000000045306827}
- {x: 0.022430236, y: 0.00000010846127, z: -0.000000017428562}
- {x: -0.002478151, y: -0.01898137, z: 0.015213584}
- {x: 0.0628784, y: -0.0028440945, z: -0.0003315112}
- {x: 0.030219711, y: -0.00000003418319, z: -0.00000009332872}
- {x: 0.018186597, y: -0.0000000050220166, z: -0.00000020934549}
- {x: 0.01801794, y: -0.0000000200012, z: 0.0000000659746}
- {x: -0.0060591106, y: 0.05628522, z: 0.060063843}
- {x: -0.04041555, y: -0.043017667, z: 0.019344581}
- {x: -0.03935372, y: -0.07567404, z: 0.047048334}
- {x: -0.038340144, y: -0.09098663, z: 0.08257892}
- {x: -0.031805996, y: -0.08721431, z: 0.12101539}
boneRotations:
- {x: -6.123234e-17, y: 1, z: 6.123234e-17, w: -0.00000004371139}
- {x: -0.078608155, y: -0.92027926, z: 0.3792963, w: -0.055146642}
- {x: -0.46411175, y: -0.623374, z: 0.2721063, w: 0.5674181}
- {x: 0.08293856, y: -0.019454371, z: -0.055129882, w: 0.9948384}
- {x: -0.0032133153, y: -0.021866836, z: 0.22201493, w: 0.9747928}
- {x: -1.3877788e-17, y: -1.3877788e-17, z: -5.551115e-17, w: 1}
- {x: -0.6442515, y: -0.42213318, z: -0.4782025, w: 0.42197865}
- {x: 0.0070068412, y: 0.039123755, z: -0.08794935, w: 0.9953317}
- {x: 0.045808382, y: -0.0021422536, z: 0.0459431, w: 0.9978909}
- {x: 0.0018504566, y: 0.022782495, z: 0.013409463, w: 0.9996488}
- {x: 6.938894e-18, y: 1.9428903e-16, z: -1.348151e-33, w: 1}
- {x: -0.546723, y: -0.46074906, z: -0.44252017, w: 0.54127645}
- {x: -0.16726136, y: 0.0789587, z: -0.06936778, w: 0.9802945}
- {x: 0.018492563, y: -0.013192348, z: -0.05988611, w: 0.99794674}
- {x: -0.003327809, y: 0.028225154, z: 0.066315144, w: 0.9973939}
- {x: 1.1639192e-17, y: -5.602331e-17, z: -0.040125635, w: 0.9991947}
- {x: -0.5166922, y: -0.4298879, z: -0.49554786, w: 0.5501435}
- {x: -0.058696117, y: 0.10181952, z: -0.072495356, w: 0.9904201}
- {x: -0.0022397265, y: -0.0000039300317, z: -0.030081047, w: 0.999545}
- {x: -0.00072132144, y: 0.012692659, z: -0.040420394, w: 0.9991019}
- {x: 6.938894e-18, y: -9.62965e-35, z: -1.3877788e-17, w: 1}
- {x: -0.5269183, y: -0.32674035, z: -0.5840246, w: 0.52394}
- {x: -0.059614867, y: 0.13516304, z: -0.06913207, w: 0.9866093}
- {x: 0.0018961236, y: 0.00013150928, z: -0.10644623, w: 0.99431664}
- {x: -0.00201019, y: 0.052079126, z: 0.073525675, w: 0.99593055}
- {x: 0, y: 0, z: 1.9081958e-17, w: 1}
- {x: 0.20274544, y: 0.59426665, z: 0.2494411, w: 0.73723847}
- {x: 0.6235274, y: -0.66380864, z: -0.29373443, w: -0.29033053}
- {x: 0.6780625, y: -0.6592852, z: -0.26568344, w: -0.18704711}
- {x: 0.7367927, y: -0.6347571, z: -0.14393571, w: -0.18303718}
- {x: 0.7584072, y: -0.6393418, z: -0.12667806, w: -0.0036594148}
fileFormatVersion: 2
guid: 9303872ccc6946c4185bc4b432372ba0
timeCreated: 1547853690
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e90911e410742a1498a167540c7865bf, type: 3}
m_Name: ReferencePose_Fist
m_EditorClassIdentifier:
leftHand:
inputSource: 1
thumbFingerMovementType: 0
indexFingerMovementType: 0
middleFingerMovementType: 0
ringFingerMovementType: 0
pinkyFingerMovementType: 0
ignoreRootPoseData: 1
ignoreWristPoseData: 1
position: {x: 0.000000059604645, y: 0, z: 0}
rotation: {x: 0, y: -0, z: -0, w: -1}
bonePositions:
- {x: -0, y: 0, z: 0}
- {x: -0.034037687, y: 0.03650266, z: 0.16472164}
- {x: -0.016305087, y: 0.027528726, z: 0.017799662}
- {x: 0.040405963, y: -0.000000051561553, z: 0.000000045447194}
- {x: 0.032516792, y: -0.000000051137583, z: -0.000000012933195}
- {x: 0.030463902, y: 0.00000016269207, z: 0.0000000792839}
- {x: 0.0038021489, y: 0.021514187, z: 0.012803366}
- {x: 0.074204385, y: 0.005002201, z: -0.00023377323}
- {x: 0.043286677, y: 0.000000059333324, z: 0.00000018320057}
- {x: 0.028275194, y: -0.00000009297885, z: -0.00000012653295}
- {x: 0.022821384, y: -0.00000014365155, z: 0.00000007651614}
- {x: 0.005786922, y: 0.0068064053, z: 0.016533904}
- {x: 0.07095288, y: -0.00077883265, z: -0.000997186}
- {x: 0.043108486, y: -0.00000009950596, z: -0.0000000067041825}
- {x: 0.03326598, y: -0.000000017544496, z: -0.000000020628962}
- {x: 0.025892371, y: 0.00000009984198, z: -0.0000000020352908}
- {x: 0.004123044, y: -0.0068582613, z: 0.016562859}
- {x: 0.06587581, y: -0.0017857892, z: -0.00069344096}
- {x: 0.040331207, y: -0.00000009449958, z: -0.00000002273692}
- {x: 0.028488781, y: 0.000000101152565, z: 0.000000045493586}
- {x: 0.022430236, y: 0.00000010846127, z: -0.000000017428562}
- {x: 0.0011314574, y: -0.019294508, z: 0.01542875}
- {x: 0.0628784, y: -0.0028440945, z: -0.0003315112}
- {x: 0.029874247, y: -0.000000034247638, z: -0.00000009126629}
- {x: 0.017978692, y: -0.0000000028448923, z: -0.00000020797508}
- {x: 0.01801794, y: -0.0000000200012, z: 0.0000000659746}
- {x: 0.019716311, y: 0.002801723, z: 0.093936935}
- {x: -0.0075385696, y: 0.01764465, z: 0.10240429}
- {x: -0.0031984635, y: 0.0072115273, z: 0.11665362}
- {x: 0.000026269245, y: -0.007118772, z: 0.13072418}
- {x: -0.0018780098, y: -0.02256182, z: 0.14003526}
boneRotations:
- {x: -6.123234e-17, y: 1, z: 6.123234e-17, w: -0.00000004371139}
- {x: -0.078608155, y: -0.92027926, z: 0.3792963, w: -0.055146642}
- {x: -0.2257035, y: -0.836342, z: 0.12641343, w: 0.48333195}
- {x: -0.01330204, y: 0.0829018, z: -0.43944824, w: 0.89433527}
- {x: 0.00072834245, y: -0.0012028969, z: -0.58829284, w: 0.80864674}
- {x: -1.3877788e-17, y: -1.3877788e-17, z: -5.551115e-17, w: 1}
- {x: -0.6173145, y: -0.44918522, z: -0.5108743, w: 0.39517453}
- {x: -0.041852362, y: 0.11180638, z: -0.72633374, w: 0.67689514}
- {x: -0.0005700487, y: 0.115204416, z: -0.81729656, w: 0.56458294}
- {x: -0.010756178, y: 0.027241308, z: -0.66610956, w: 0.7452787}
- {x: 6.938894e-18, y: 1.9428903e-16, z: -1.348151e-33, w: 1}
- {x: -0.5142028, y: -0.4836996, z: -0.47834843, w: 0.522315}
- {x: -0.09487112, y: -0.05422859, z: -0.7229027, w: 0.68225396}
- {x: 0.0076794685, y: -0.09769542, z: -0.7635977, w: 0.6382125}
- {x: -0.06366954, y: 0.00036316764, z: -0.7530614, w: 0.6548623}
- {x: 1.1639192e-17, y: -5.602331e-17, z: -0.040125635, w: 0.9991947}
- {x: -0.489609, y: -0.46399677, z: -0.52064353, w: 0.523374}
- {x: -0.088269405, y: 0.012672794, z: -0.7085384, w: 0.7000152}
- {x: -0.0005935501, y: -0.039828163, z: -0.74642265, w: 0.66427904}
- {x: -0.027121458, y: -0.005438834, z: -0.7788164, w: 0.62664175}
- {x: 6.938894e-18, y: -9.62965e-35, z: -1.3877788e-17, w: 1}
- {x: -0.47976637, y: -0.37993452, z: -0.63019824, w: 0.47783276}
- {x: -0.094065815, y: 0.062634066, z: -0.69046116, w: 0.7144873}
- {x: 0.00313052, y: 0.03775632, z: -0.7113834, w: 0.7017823}
- {x: -0.008087321, y: -0.003009417, z: -0.7361885, w: 0.6767216}
- {x: 0, y: 0, z: 1.9081958e-17, w: 1}
- {x: -0.54886997, y: 0.1177861, z: -0.7578353, w: 0.33249632}
- {x: 0.13243657, y: -0.8730836, z: -0.45493412, w: -0.114980996}
- {x: 0.17098099, y: -0.92266804, z: -0.34507802, w: -0.019245595}
- {x: 0.15011512, y: -0.952169, z: -0.25831383, w: -0.064137466}
- {x: 0.07684197, y: -0.97957754, z: -0.18576658, w: -0.0037347008}
rightHand:
inputSource: 2
thumbFingerMovementType: 0
indexFingerMovementType: 0
middleFingerMovementType: 0
ringFingerMovementType: 0
pinkyFingerMovementType: 0
ignoreRootPoseData: 1
ignoreWristPoseData: 1
position: {x: 0, y: 0, z: 0}
rotation: {x: -0, y: -0, z: -0, w: 1}
bonePositions:
- {x: -0, y: 0, z: 0}
- {x: -0.034037687, y: 0.03650266, z: 0.16472164}
- {x: -0.016305087, y: 0.027528726, z: 0.017799662}
- {x: 0.040405963, y: -0.000000051561553, z: 0.000000045447194}
- {x: 0.032516792, y: -0.000000051137583, z: -0.000000012933195}
- {x: 0.030463902, y: 0.00000016269207, z: 0.0000000792839}
- {x: 0.0038021489, y: 0.021514187, z: 0.012803366}
- {x: 0.074204385, y: 0.005002201, z: -0.00023377323}
- {x: 0.043286677, y: 0.000000059333324, z: 0.00000018320057}
- {x: 0.028275194, y: -0.00000009297885, z: -0.00000012653295}
- {x: 0.022821384, y: -0.00000014365155, z: 0.00000007651614}
- {x: 0.005786922, y: 0.0068064053, z: 0.016533904}
- {x: 0.07095288, y: -0.00077883265, z: -0.000997186}
- {x: 0.043108486, y: -0.00000009950596, z: -0.0000000067041825}
- {x: 0.03326598, y: -0.000000017544496, z: -0.000000020628962}
- {x: 0.025892371, y: 0.00000009984198, z: -0.0000000020352908}
- {x: 0.004123044, y: -0.0068582613, z: 0.016562859}
- {x: 0.06587581, y: -0.0017857892, z: -0.00069344096}
- {x: 0.040331207, y: -0.00000009449958, z: -0.00000002273692}
- {x: 0.028488781, y: 0.000000101152565, z: 0.000000045493586}
- {x: 0.022430236, y: 0.00000010846127, z: -0.000000017428562}
- {x: 0.0011314574, y: -0.019294508, z: 0.01542875}
- {x: 0.0628784, y: -0.0028440945, z: -0.0003315112}
- {x: 0.029874247, y: -0.000000034247638, z: -0.00000009126629}
- {x: 0.017978692, y: -0.0000000028448923, z: -0.00000020797508}
- {x: 0.01801794, y: -0.0000000200012, z: 0.0000000659746}
- {x: 0.019716311, y: 0.002801723, z: 0.093936935}
- {x: -0.0075385696, y: 0.01764465, z: 0.10240429}
- {x: -0.0031984635, y: 0.0072115273, z: 0.11665362}
- {x: 0.000026269245, y: -0.007118772, z: 0.13072418}
- {x: -0.0018780098, y: -0.02256182, z: 0.14003526}
boneRotations:
- {x: -6.123234e-17, y: 1, z: 6.123234e-17, w: -0.00000004371139}
- {x: -0.078608155, y: -0.92027926, z: 0.3792963, w: -0.055146642}
- {x: -0.2257035, y: -0.836342, z: 0.12641343, w: 0.48333195}
- {x: -0.01330204, y: 0.0829018, z: -0.43944824, w: 0.89433527}
- {x: 0.00072834245, y: -0.0012028969, z: -0.58829284, w: 0.80864674}
- {x: -1.3877788e-17, y: -1.3877788e-17, z: -5.551115e-17, w: 1}
- {x: -0.6173145, y: -0.44918522, z: -0.5108743, w: 0.39517453}
- {x: -0.041852362, y: 0.11180638, z: -0.72633374, w: 0.67689514}
- {x: -0.0005700487, y: 0.115204416, z: -0.81729656, w: 0.56458294}
- {x: -0.010756178, y: 0.027241308, z: -0.66610956, w: 0.7452787}
- {x: 6.938894e-18, y: 1.9428903e-16, z: -1.348151e-33, w: 1}
- {x: -0.5142028, y: -0.4836996, z: -0.47834843, w: 0.522315}
- {x: -0.09487112, y: -0.05422859, z: -0.7229027, w: 0.68225396}
- {x: 0.0076794685, y: -0.09769542, z: -0.7635977, w: 0.6382125}
- {x: -0.06366954, y: 0.00036316764, z: -0.7530614, w: 0.6548623}
- {x: 1.1639192e-17, y: -5.602331e-17, z: -0.040125635, w: 0.9991947}
- {x: -0.489609, y: -0.46399677, z: -0.52064353, w: 0.523374}
- {x: -0.088269405, y: 0.012672794, z: -0.7085384, w: 0.7000152}
- {x: -0.0005935501, y: -0.039828163, z: -0.74642265, w: 0.66427904}
- {x: -0.027121458, y: -0.005438834, z: -0.7788164, w: 0.62664175}
- {x: 6.938894e-18, y: -9.62965e-35, z: -1.3877788e-17, w: 1}
- {x: -0.47976637, y: -0.37993452, z: -0.63019824, w: 0.47783276}
- {x: -0.094065815, y: 0.062634066, z: -0.69046116, w: 0.7144873}
- {x: 0.00313052, y: 0.03775632, z: -0.7113834, w: 0.7017823}
- {x: -0.008087321, y: -0.003009417, z: -0.7361885, w: 0.6767216}
- {x: 0, y: 0, z: 1.9081958e-17, w: 1}
- {x: -0.54886997, y: 0.1177861, z: -0.7578353, w: 0.33249632}
- {x: 0.13243657, y: -0.8730836, z: -0.45493412, w: -0.114980996}
- {x: 0.17098099, y: -0.92266804, z: -0.34507802, w: -0.019245595}
- {x: 0.15011512, y: -0.952169, z: -0.25831383, w: -0.064137466}
- {x: 0.07684197, y: -0.97957754, z: -0.18576658, w: -0.0037347008}
fileFormatVersion: 2
guid: 5923b268404ed1c46a82b541e44c52af
timeCreated: 1547853659
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e90911e410742a1498a167540c7865bf, type: 3}
m_Name: ReferencePose_OpenHand
m_EditorClassIdentifier:
leftHand:
inputSource: 1
thumbFingerMovementType: 0
indexFingerMovementType: 0
middleFingerMovementType: 0
ringFingerMovementType: 0
pinkyFingerMovementType: 0
ignoreRootPoseData: 1
ignoreWristPoseData: 1
position: {x: 0.000000059604645, y: 0, z: 0}
rotation: {x: 0, y: -0, z: -0, w: -1}
bonePositions:
- {x: -0, y: 0, z: 0}
- {x: -0.034037687, y: 0.03650266, z: 0.16472164}
- {x: -0.012083233, y: 0.028070247, z: 0.025049694}
- {x: 0.040405963, y: -0.000000051561553, z: 0.000000045447194}
- {x: 0.032516792, y: -0.000000051137583, z: -0.000000012933195}
- {x: 0.030463902, y: 0.00000016269207, z: 0.0000000792839}
- {x: 0.0006324522, y: 0.026866155, z: 0.015001948}
- {x: 0.074204385, y: 0.005002201, z: -0.00023377323}
- {x: 0.043930072, y: 0.000000059567498, z: 0.00000018367103}
- {x: 0.02869547, y: -0.00000009398158, z: -0.00000012649753}
- {x: 0.022821384, y: -0.00000014365155, z: 0.00000007651614}
- {x: 0.0021773134, y: 0.007119544, z: 0.016318738}
- {x: 0.07095288, y: -0.00077883265, z: -0.000997186}
- {x: 0.043108486, y: -0.00000009950596, z: -0.0000000067041825}
- {x: 0.033266045, y: -0.00000001320567, z: -0.000000021670374}
- {x: 0.025892371, y: 0.00000009984198, z: -0.0000000020352908}
- {x: 0.0005134356, y: -0.0065451227, z: 0.016347693}
- {x: 0.06587581, y: -0.0017857892, z: -0.00069344096}
- {x: 0.04069671, y: -0.000000095347104, z: -0.000000022934731}
- {x: 0.028746964, y: 0.00000010089892, z: 0.000000045306827}
- {x: 0.022430236, y: 0.00000010846127, z: -0.000000017428562}
- {x: -0.002478151, y: -0.01898137, z: 0.015213584}
- {x: 0.0628784, y: -0.0028440945, z: -0.0003315112}
- {x: 0.030219711, y: -0.00000003418319, z: -0.00000009332872}
- {x: 0.018186597, y: -0.0000000050220166, z: -0.00000020934549}
- {x: 0.01801794, y: -0.0000000200012, z: 0.0000000659746}
- {x: -0.0060591106, y: 0.05628522, z: 0.060063843}
- {x: -0.04041555, y: -0.043017667, z: 0.019344581}
- {x: -0.03935372, y: -0.07567404, z: 0.047048334}
- {x: -0.038340144, y: -0.09098663, z: 0.08257892}
- {x: -0.031805996, y: -0.08721431, z: 0.12101539}
boneRotations:
- {x: -6.123234e-17, y: 1, z: 6.123234e-17, w: -0.00000004371139}
- {x: -0.078608155, y: -0.92027926, z: 0.3792963, w: -0.055146642}
- {x: -0.46411175, y: -0.623374, z: 0.2721063, w: 0.5674181}
- {x: 0.08293856, y: -0.019454371, z: -0.055129882, w: 0.9948384}
- {x: -0.0032133153, y: -0.021866836, z: 0.22201493, w: 0.9747928}
- {x: -1.3877788e-17, y: -1.3877788e-17, z: -5.551115e-17, w: 1}
- {x: -0.6442515, y: -0.42213318, z: -0.4782025, w: 0.42197865}
- {x: 0.0070068412, y: 0.039123755, z: -0.08794935, w: 0.9953317}
- {x: 0.045808382, y: -0.0021422536, z: 0.0459431, w: 0.9978909}
- {x: 0.0018504566, y: 0.022782495, z: 0.013409463, w: 0.9996488}
- {x: 6.938894e-18, y: 1.9428903e-16, z: -1.348151e-33, w: 1}
- {x: -0.546723, y: -0.46074906, z: -0.44252017, w: 0.54127645}
- {x: -0.16726136, y: 0.0789587, z: -0.06936778, w: 0.9802945}
- {x: 0.018492563, y: -0.013192348, z: -0.05988611, w: 0.99794674}
- {x: -0.003327809, y: 0.028225154, z: 0.066315144, w: 0.9973939}
- {x: 1.1639192e-17, y: -5.602331e-17, z: -0.040125635, w: 0.9991947}
- {x: -0.5166922, y: -0.4298879, z: -0.49554786, w: 0.5501435}
- {x: -0.058696117, y: 0.10181952, z: -0.072495356, w: 0.9904201}
- {x: -0.0022397265, y: -0.0000039300317, z: -0.030081047, w: 0.999545}
- {x: -0.00072132144, y: 0.012692659, z: -0.040420394, w: 0.9991019}
- {x: 6.938894e-18, y: -9.62965e-35, z: -1.3877788e-17, w: 1}
- {x: -0.5269183, y: -0.32674035, z: -0.5840246, w: 0.52394}
- {x: -0.059614867, y: 0.13516304, z: -0.06913207, w: 0.9866093}
- {x: 0.0018961236, y: 0.00013150928, z: -0.10644623, w: 0.99431664}
- {x: -0.00201019, y: 0.052079126, z: 0.073525675, w: 0.99593055}
- {x: 0, y: 0, z: 1.9081958e-17, w: 1}
- {x: 0.20274544, y: 0.59426665, z: 0.2494411, w: 0.73723847}
- {x: 0.6235274, y: -0.66380864, z: -0.29373443, w: -0.29033053}
- {x: 0.6780625, y: -0.6592852, z: -0.26568344, w: -0.18704711}
- {x: 0.7367927, y: -0.6347571, z: -0.14393571, w: -0.18303718}
- {x: 0.7584072, y: -0.6393418, z: -0.12667806, w: -0.0036594148}
rightHand:
inputSource: 2
thumbFingerMovementType: 0
indexFingerMovementType: 0
middleFingerMovementType: 0
ringFingerMovementType: 0
pinkyFingerMovementType: 0
ignoreRootPoseData: 1
ignoreWristPoseData: 1
position: {x: 0, y: 0, z: 0}
rotation: {x: -0, y: -0, z: -0, w: 1}
bonePositions:
- {x: -0, y: 0, z: 0}
- {x: -0.034037687, y: 0.03650266, z: 0.16472164}
- {x: -0.012083233, y: 0.028070247, z: 0.025049694}
- {x: 0.040405963, y: -0.000000051561553, z: 0.000000045447194}
- {x: 0.032516792, y: -0.000000051137583, z: -0.000000012933195}
- {x: 0.030463902, y: 0.00000016269207, z: 0.0000000792839}
- {x: 0.0006324522, y: 0.026866155, z: 0.015001948}
- {x: 0.074204385, y: 0.005002201, z: -0.00023377323}
- {x: 0.043930072, y: 0.000000059567498, z: 0.00000018367103}
- {x: 0.02869547, y: -0.00000009398158, z: -0.00000012649753}
- {x: 0.022821384, y: -0.00000014365155, z: 0.00000007651614}
- {x: 0.0021773134, y: 0.007119544, z: 0.016318738}
- {x: 0.07095288, y: -0.00077883265, z: -0.000997186}
- {x: 0.043108486, y: -0.00000009950596, z: -0.0000000067041825}
- {x: 0.033266045, y: -0.00000001320567, z: -0.000000021670374}
- {x: 0.025892371, y: 0.00000009984198, z: -0.0000000020352908}
- {x: 0.0005134356, y: -0.0065451227, z: 0.016347693}
- {x: 0.06587581, y: -0.0017857892, z: -0.00069344096}
- {x: 0.04069671, y: -0.000000095347104, z: -0.000000022934731}
- {x: 0.028746964, y: 0.00000010089892, z: 0.000000045306827}
- {x: 0.022430236, y: 0.00000010846127, z: -0.000000017428562}
- {x: -0.002478151, y: -0.01898137, z: 0.015213584}
- {x: 0.0628784, y: -0.0028440945, z: -0.0003315112}
- {x: 0.030219711, y: -0.00000003418319, z: -0.00000009332872}
- {x: 0.018186597, y: -0.0000000050220166, z: -0.00000020934549}
- {x: 0.01801794, y: -0.0000000200012, z: 0.0000000659746}
- {x: -0.0060591106, y: 0.05628522, z: 0.060063843}
- {x: -0.04041555, y: -0.043017667, z: 0.019344581}
- {x: -0.03935372, y: -0.07567404, z: 0.047048334}
- {x: -0.038340144, y: -0.09098663, z: 0.08257892}
- {x: -0.031805996, y: -0.08721431, z: 0.12101539}
boneRotations:
- {x: -6.123234e-17, y: 1, z: 6.123234e-17, w: -0.00000004371139}
- {x: -0.078608155, y: -0.92027926, z: 0.3792963, w: -0.055146642}
- {x: -0.46411175, y: -0.623374, z: 0.2721063, w: 0.5674181}
- {x: 0.08293856, y: -0.019454371, z: -0.055129882, w: 0.9948384}
- {x: -0.0032133153, y: -0.021866836, z: 0.22201493, w: 0.9747928}
- {x: -1.3877788e-17, y: -1.3877788e-17, z: -5.551115e-17, w: 1}
- {x: -0.6442515, y: -0.42213318, z: -0.4782025, w: 0.42197865}
- {x: 0.0070068412, y: 0.039123755, z: -0.08794935, w: 0.9953317}
- {x: 0.045808382, y: -0.0021422536, z: 0.0459431, w: 0.9978909}
- {x: 0.0018504566, y: 0.022782495, z: 0.013409463, w: 0.9996488}
- {x: 6.938894e-18, y: 1.9428903e-16, z: -1.348151e-33, w: 1}
- {x: -0.546723, y: -0.46074906, z: -0.44252017, w: 0.54127645}
- {x: -0.16726136, y: 0.0789587, z: -0.06936778, w: 0.9802945}
- {x: 0.018492563, y: -0.013192348, z: -0.05988611, w: 0.99794674}
- {x: -0.003327809, y: 0.028225154, z: 0.066315144, w: 0.9973939}
- {x: 1.1639192e-17, y: -5.602331e-17, z: -0.040125635, w: 0.9991947}
- {x: -0.5166922, y: -0.4298879, z: -0.49554786, w: 0.5501435}
- {x: -0.058696117, y: 0.10181952, z: -0.072495356, w: 0.9904201}
- {x: -0.0022397265, y: -0.0000039300317, z: -0.030081047, w: 0.999545}
- {x: -0.00072132144, y: 0.012692659, z: -0.040420394, w: 0.9991019}
- {x: 6.938894e-18, y: -9.62965e-35, z: -1.3877788e-17, w: 1}
- {x: -0.5269183, y: -0.32674035, z: -0.5840246, w: 0.52394}
- {x: -0.059614867, y: 0.13516304, z: -0.06913207, w: 0.9866093}
- {x: 0.0018961236, y: 0.00013150928, z: -0.10644623, w: 0.99431664}
- {x: -0.00201019, y: 0.052079126, z: 0.073525675, w: 0.99593055}
- {x: 0, y: 0, z: 1.9081958e-17, w: 1}
- {x: 0.20274544, y: 0.59426665, z: 0.2494411, w: 0.73723847}
- {x: 0.6235274, y: -0.66380864, z: -0.29373443, w: -0.29033053}
- {x: 0.6780625, y: -0.6592852, z: -0.26568344, w: -0.18704711}
- {x: 0.7367927, y: -0.6347571, z: -0.14393571, w: -0.18303718}
- {x: 0.7584072, y: -0.6393418, z: -0.12667806, w: -0.0036594148}
fileFormatVersion: 2
guid: d93b955753287b048b63d232fa679470
timeCreated: 1547853572
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
// UNITY_SHADER_NO_UPGRADE
Shader "Custom/SteamVR_AlphaOut" {
Properties { _MainTex ("Base (RGB)", 2D) = "white" {} }
CGINCLUDE
#include "UnityCG.cginc"
sampler2D _MainTex;
struct v2f {
float4 pos : SV_POSITION;
float2 tex : TEXCOORD0;
};
v2f vert(appdata_base v) {
v2f o;
#if UNITY_VERSION >= 540
o.pos = UnityObjectToClipPos(v.vertex);
#else
o.pos = mul(UNITY_MATRIX_MVP, v.vertex);
#endif
o.tex = v.texcoord;
return o;
}
float luminance(float3 color)
{
return 0.2126 * color.r + 0.7152 * color.g + 0.0722 * color.b;
}
float4 frag(v2f i) : COLOR {
float4 color = tex2D(_MainTex, i.tex);
float a = saturate(color.a + luminance(color.rgb));
return float4(a, a, a, a);
}
ENDCG
SubShader {
Pass {
ZTest Always Cull Off ZWrite Off
Fog { Mode Off }
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
ENDCG
}
}
}
fileFormatVersion: 2
guid: da25bb0dccfd3894181fc5e84714cd17
timeCreated: 1456189850
licenseType: Store
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
// UNITY_SHADER_NO_UPGRADE
Shader "Custom/SteamVR_ClearAll" {
Properties
{
_Color ("Color", Color) = (0, 0, 0, 0)
_MainTex ("Base (RGB)", 2D) = "white" {}
}
CGINCLUDE
#include "UnityCG.cginc"
float4 _Color;
sampler2D _MainTex;
struct v2f {
float4 pos : SV_POSITION;
float2 tex : TEXCOORD0;
};
v2f vert(appdata_base v) {
v2f o;
#if UNITY_VERSION >= 540
o.pos = UnityObjectToClipPos(v.vertex);
#else
o.pos = mul(UNITY_MATRIX_MVP, v.vertex);
#endif
o.tex = v.texcoord;
return o;
}
float4 frag(v2f i) : COLOR {
return _Color;
}
ENDCG
SubShader {
Tags{ "Queue" = "Background" }
Pass {
ZTest Always Cull Off ZWrite On
Fog { Mode Off }
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
ENDCG
}
}
}
fileFormatVersion: 2
guid: c1eded52540dd0a4988d5d4d76382da9
timeCreated: 1457042024
licenseType: Store
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
// UNITY_SHADER_NO_UPGRADE
Shader "Custom/SteamVR_ColorOut" {
Properties { _MainTex ("Base (RGB)", 2D) = "white" {} }
CGINCLUDE
#include "UnityCG.cginc"
sampler2D _MainTex;
struct v2f {
float4 pos : SV_POSITION;
float2 tex : TEXCOORD0;
};
v2f vert(appdata_base v) {
v2f o;
#if UNITY_VERSION >= 540
o.pos = UnityObjectToClipPos(v.vertex);
#else
o.pos = mul(UNITY_MATRIX_MVP, v.vertex);
#endif
o.tex = v.texcoord;
return o;
}
float luminance(float3 color)
{
return 0.2126 * color.r + 0.7152 * color.g + 0.0722 * color.b;
}
float4 frag(v2f i) : COLOR {
float4 color = tex2D(_MainTex, i.tex);
return float4(color.rgb, 1);
}
ENDCG
SubShader {
Pass {
ZTest Always Cull Off ZWrite Off
Fog { Mode Off }
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
ENDCG
}
}
}
fileFormatVersion: 2
guid: 04d03a6e2ff64bf47911d08912140c31
timeCreated: 1456866489
licenseType: Store
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &128450
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 4
m_Component:
- 4: {fileID: 417074}
m_Layer: 0
m_Name: SteamVR_ExternalCamera
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &129796
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 4
m_Component:
- 4: {fileID: 444732}
- 114: {fileID: 11487396}
m_Layer: 0
m_Name: Controller (third)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &417074
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 128450}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 444732}
m_Father: {fileID: 0}
m_RootOrder: 0
--- !u!4 &444732
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 129796}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 417074}
m_RootOrder: 0
--- !u!114 &11487396
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 129796}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c9da270df5147d24597cc106058c1fa7, type: 3}
m_Name:
m_EditorClassIdentifier:
config:
x: 0
y: 0
z: 0
rx: 0
ry: 0
rz: 0
fov: 0
near: 0
far: 0
sceneResolutionScale: 0
frameSkip: 0
nearOffset: 0
farOffset: 0
hmdOffset: 0
r: 0
g: 0
b: 0
a: 0
disableStandardAssets: 0
configPath:
autoEnableDisableActionSet: 1
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 128450}
m_IsPrefabParent: 1
fileFormatVersion: 2
guid: 6b259143c09ffc447ad059e5b8d8cf89
timeCreated: 1456288801
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
// UNITY_SHADER_NO_UPGRADE
Shader "Custom/SteamVR_Fade"
{
SubShader
{
Pass
{
Blend SrcAlpha OneMinusSrcAlpha
ZTest Always
Cull Off
ZWrite Off
CGPROGRAM
#pragma vertex MainVS
#pragma fragment MainPS
float4 fadeColor;
float4 MainVS( float4 vertex : POSITION ) : SV_POSITION
{
return vertex.xyzw;
}
float4 MainPS() : SV_Target
{
return fadeColor.rgba;
}
ENDCG
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: 9f884441bea153347be721454dc13716
timeCreated: 1433284862
licenseType: Store
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: SteamVR_HoverHighlight
m_Shader: {fileID: 4800000, guid: 0c1cf10ea69e60e4f9eb8955749f88ec, type: 3}
m_ShaderKeywords: _EMISSION
m_LightmapFlags: 1
m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
- first:
name: _BumpMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- first:
name: _DetailAlbedoMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- first:
name: _DetailMask
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- first:
name: _DetailNormalMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- first:
name: _EmissionMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- first:
name: _MetallicGlossMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- first:
name: _OcclusionMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- first:
name: _ParallaxMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- first:
name: _BumpScale
second: 1
- first:
name: _Cutoff
second: 0.5
- first:
name: _DetailNormalMapScale
second: 1
- first:
name: _DstBlend
second: 0
- first:
name: _GlossMapScale
second: 1
- first:
name: _Glossiness
second: 0.5
- first:
name: _GlossyReflections
second: 1
- first:
name: _Metallic
second: 0
- first:
name: _Mode
second: 0
- first:
name: _OcclusionStrength
second: 1
- first:
name: _Parallax
second: 0.02
- first:
name: _SmoothnessTextureChannel
second: 0
- first:
name: _SpecularHighlights
second: 1
- first:
name: _SrcBlend
second: 1
- first:
name: _UVSec
second: 0
- first:
name: _ZWrite
second: 1
- first:
name: g_flCornerAdjust
second: 0.5
- first:
name: g_flOutlineWidth
second: 0.005
m_Colors:
- first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}
- first:
name: _EmissionColor
second: {r: 0, g: 0, b: 0, a: 1}
- first:
name: g_vOutlineColor
second: {r: 0.94509804, g: 0.92156863, b: 0, a: 1}
fileFormatVersion: 2
guid: 3f7b904f6bd0b77429148042b0254530
timeCreated: 1533928125
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
// UNITY_SHADER_NO_UPGRADE
Shader "Custom/SteamVR_SphericalProjection" {
Properties {
_MainTex ("Base (RGB)", 2D) = "white" {}
_N ("N (normal of plane)", Vector) = (0,0,0,0)
_Phi0 ("Phi0", Float) = 0
_Phi1 ("Phi1", Float) = 1
_Theta0 ("Theta0", Float) = 0
_Theta1 ("Theta1", Float) = 1
_UAxis ("uAxis", Vector) = (0,0,0,0)
_VAxis ("vAxis", Vector) = (0,0,0,0)
_UOrigin ("uOrigin", Vector) = (0,0,0,0)
_VOrigin ("vOrigin", Vector) = (0,0,0,0)
_UScale ("uScale", Float) = 1
_VScale ("vScale", Float) = 1
}
CGINCLUDE
#include "UnityCG.cginc"
sampler2D _MainTex;
float4 _N;
float _Phi0, _Phi1, _Theta0, _Theta1;
float4 _UAxis, _VAxis;
float4 _UOrigin, _VOrigin;
float _UScale, _VScale;
struct v2f {
float4 pos : SV_POSITION;
float2 tex : TEXCOORD0;
};
v2f vert(appdata_base v) {
v2f o;
#if UNITY_VERSION >= 540
o.pos = UnityObjectToClipPos(v.vertex);
#else
o.pos = mul(UNITY_MATRIX_MVP, v.vertex);
#endif
o.tex = float2(
lerp(_Phi0, _Phi1, v.texcoord.x),
lerp(_Theta0, _Theta1, v.texcoord.y));
return o;
}
float3 cartesian(float phi, float theta)
{
float sinTheta = sin(theta);
return float3(
sinTheta * sin(phi),
cos(theta),
sinTheta * cos(phi));
}
float4 frag(v2f i) : COLOR {
float3 V = cartesian(i.tex.x, i.tex.y);
float3 P = V / dot(V, _N.xyz); // intersection point on plane
float2 uv = float2(
dot(P - _UOrigin.xyz, _UAxis.xyz) * _UScale,
dot(P - _VOrigin.xyz, _VAxis.xyz) * _VScale);
return tex2D(_MainTex, uv);
}
ENDCG
SubShader {
Pass {
ZTest Always Cull Off ZWrite Off
Fog { Mode Off }
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
ENDCG
}
}
}
fileFormatVersion: 2
guid: 43b10deca54ca524c8cd9a0fcb622325
timeCreated: 1462380123
licenseType: Store
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b7f99b5209bd86441a74f3b0c7aab951, type: 3}
m_Name: SteamVR_Settings
m_EditorClassIdentifier:
pauseGameWhenDashboardVisible: 1
lockPhysicsUpdateRateToRenderFrequency: 1
trackingSpaceOrigin: 1
actionsFilePath: actions.json
steamVRInputPath: SteamVR_Input
inputUpdateMode: 2
poseUpdateMode: 8
activateFirstActionSetOnStart: 1
editorAppKey: application.generated.unity.rhythmkata.exe
autoEnableVR: 1
legacyMixedRealityCamera: 1
mixedRealityCameraPose:
actionPath: /actions/mixedreality/in/ExternalCamera
needsReinit: 0
mixedRealityCameraInputSource: 11
mixedRealityActionSetAutoEnable: 1
previewHandLeft: {fileID: 0}
previewHandRight: {fileID: 0}
fileFormatVersion: 2
guid: d3df7d1d519ce764aae0991e3da499ee
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment