Created
July 3, 2017 14:43
-
-
Save CameronVetter/54cdbc8ebf1390070bf76db3c8dd503e to your computer and use it in GitHub Desktop.
Add Cowboy
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 System.Collections.Generic; | |
using HoloToolkit.Unity; | |
using UnityEngine; | |
public enum ObjectType | |
{ | |
SquareBuilding, | |
WideBuilding, | |
TallBuilding, | |
Tree, | |
Tumbleweed, | |
Mine, | |
Cowboy | |
} | |
public struct PlacementQuery | |
{ | |
public PlacementQuery( | |
SpatialUnderstandingDllObjectPlacement.ObjectPlacementDefinition placementDefinition, | |
Vector3 dimensions, | |
ObjectType objType, | |
List<SpatialUnderstandingDllObjectPlacement.ObjectPlacementRule> placementRules = null, | |
List<SpatialUnderstandingDllObjectPlacement.ObjectPlacementConstraint> placementConstraints = null) | |
{ | |
PlacementDefinition = placementDefinition; | |
PlacementRules = placementRules; | |
PlacementConstraints = placementConstraints; | |
Dimensions = dimensions; | |
ObjType = objType; | |
} | |
public readonly SpatialUnderstandingDllObjectPlacement.ObjectPlacementDefinition PlacementDefinition; | |
public readonly Vector3 Dimensions; | |
public readonly ObjectType ObjType; | |
public readonly List<SpatialUnderstandingDllObjectPlacement.ObjectPlacementRule> PlacementRules; | |
public readonly List<SpatialUnderstandingDllObjectPlacement.ObjectPlacementConstraint> PlacementConstraints; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment