Created
January 26, 2017 03:45
-
-
Save CameronVetter/5ffdccd53a17c58be3426069d2afc93f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using HoloToolkit.Unity; | |
using UnityEngine; | |
public class PlacementResult | |
{ | |
public PlacementResult(SpatialUnderstandingDllObjectPlacement.ObjectPlacementResult result, Vector3 dimensions, ObjectType objType) | |
{ | |
_result = result; | |
Dimensions = dimensions; | |
ObjType = objType; | |
} | |
public Vector3 Position { get { return _result.Position; } } | |
public Vector3 Normal { get { return _result.Forward; } } | |
public Vector3 Dimensions { get; private set; } | |
public ObjectType ObjType { get; private set; } | |
private readonly SpatialUnderstandingDllObjectPlacement.ObjectPlacementResult _result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment