AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
SyncDataAttributes.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 System;
5 
6 namespace HoloToolkit.Sharing.SyncModel
7 {
11  [AttributeUsage(AttributeTargets.Field)]
12  public class SyncDataAttribute : Attribute
13  {
14  public string CustomFieldName;
15  }
16 
21  [AttributeUsage(AttributeTargets.Class)]
22  public class SyncDataClassAttribute : Attribute
23  {
24  public string CustomClassName;
25  }
26 }
Used to markup SyncObject classes, so that they properly get instantiated when using a hierarchical d...
Used to markup SyncPrimitives within a class.