AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
CalibrationSpace.cs
Go to the documentation of this file.
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
// Licensed under the MIT License. See LICENSE in the project root for license information.
3
4
using
UnityEngine
;
5
6
namespace
HoloToolkit
.Unity
7
{
11
public
class
CalibrationSpace
: MonoBehaviour
12
{
13
private
void
Update()
14
{
15
Shader.SetGlobalMatrix(
"CalibrationSpaceWorldToLocal"
, transform.worldToLocalMatrix);
16
Shader.SetGlobalMatrix(
"CalibrationSpaceLocalToWorld"
, transform.localToWorldMatrix);
17
}
18
}
19
}
HoloToolkit
HoloToolkit.Unity.CalibrationSpace
Sets global shader variables relating to calibration space transforms
Definition:
CalibrationSpace.cs:11
UnityEngine
Assets
HoloToolkit
Common
Scripts
CalibrationSpace.cs
Generated by
1.8.12