AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
DefaultSyncModelAccessor.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
using
HoloToolkit
.
Sharing
.
SyncModel
;
6
7
namespace
HoloToolkit
.Sharing
8
{
13
public
class
DefaultSyncModelAccessor
: MonoBehaviour,
ISyncModelAccessor
14
{
15
public
SyncObject
SyncModel {
get
;
private
set
; }
16
17
public
void
SetSyncModel
(
SyncObject
syncObject)
18
{
19
SyncModel = syncObject;
20
}
21
}
22
}
HoloToolkit.Sharing.ISyncModelAccessor
Interface that allows a components of a game object access the shared data model set by a SpawnManage...
Definition:
ISyncModelAccessor.cs:11
HoloToolkit.Sharing.SyncModel
Definition:
SyncArray.cs:9
HoloToolkit.Sharing.SyncModel.SyncObject
The SyncObject class is a container object that can hold multiple SyncPrimitives. ...
Definition:
SyncObject.cs:21
HoloToolkit.Sharing.DefaultSyncModelAccessor.SetSyncModel
void SetSyncModel(SyncObject syncObject)
Sets the synchronized data model to use for this object.
Definition:
DefaultSyncModelAccessor.cs:17
HoloToolkit.Sharing
Definition:
SharingMenu.cs:9
HoloToolkit
UnityEngine
HoloToolkit.Sharing.DefaultSyncModelAccessor
Default implementation of a MonoBehaviour that allows other components of a game object access the sh...
Definition:
DefaultSyncModelAccessor.cs:13
Assets
HoloToolkit
Sharing
Scripts
Unity
DefaultSyncModelAccessor.cs
Generated by
1.8.12