C# Class HoloToolkit.Unity.SpatialUnderstandingDllObjectPlacement.ObjectPlacementDefinition

Afficher le fichier Open project: Microsoft/HoloToolkit-Unity Class Usage Examples

Méthodes publiques

Свойство Type Description
HalfDims Vector3
PlacementParam_Float_0 float
PlacementParam_Float_1 float
PlacementParam_Float_2 float
PlacementParam_Float_3 float
PlacementParam_Int_0 int
PlacementParam_Str_0 System.IntPtr
Type PlacementType
WallFlags int

Méthodes publiques

Méthode Description
Create_InMidAir ( Vector3 halfDims ) : ObjectPlacementDefinition

Constructs an object placement query definition requiring the object to be placed floating in space, within the playspace. This query requires that other objects do not collide with the placement volume.

Create_OnCeiling ( Vector3 halfDims ) : ObjectPlacementDefinition

Constructs an object placement query definition requiring the object to be place on the ceiling.

Create_OnEdge ( Vector3 halfDims, Vector3 halfDimsBottom ) : ObjectPlacementDefinition

Constructs an object placement query definition requiring the object to be placed on the edge of a platform.

Create_OnFloor ( Vector3 halfDims ) : ObjectPlacementDefinition

Constructs an object placement query definition requiring the object to be placed on the floor.

Create_OnFloorAndCeiling ( Vector3 halfDims, Vector3 halfDimsBottom ) : ObjectPlacementDefinition

Constructs an object placement query definition requiring the object to be have space on the floor and ceiling within the same vertical space.

Create_OnShape ( Vector3 halfDims, string shapeName, int componentIndex ) : ObjectPlacementDefinition

Constructs an object placement query definition requiring the object to be placed on top of another object placed object.

Create_OnWall ( Vector3 halfDims, float heightMin, float heightMax, WallTypeFlags wallTypes = WallTypeFlags.External|WallTypeFlags.Normal, float marginLeft = 0.0f, float marginRight = 0.0f ) : ObjectPlacementDefinition

Constructs an object placement query definition requiring the object to be placed on a wall.

Create_RandomInAir ( Vector3 halfDims ) : ObjectPlacementDefinition

Constructs an object placement query definition requiring the object to be placed floating in space, within the playspace. Spaces visible from the center of the playspace are favored.

Create_UnderPlatformEdge ( Vector3 halfDims ) : ObjectPlacementDefinition

Constructs an object placement query definition requiring the object to be place under a platform edge.

Method Details

Create_InMidAir() public static méthode

Constructs an object placement query definition requiring the object to be placed floating in space, within the playspace. This query requires that other objects do not collide with the placement volume.
public static Create_InMidAir ( Vector3 halfDims ) : ObjectPlacementDefinition
halfDims Vector3 Required half size of the requested bounding volume
Résultat ObjectPlacementDefinition

Create_OnCeiling() public static méthode

Constructs an object placement query definition requiring the object to be place on the ceiling.
public static Create_OnCeiling ( Vector3 halfDims ) : ObjectPlacementDefinition
halfDims Vector3 Required half size of the requested bounding volume
Résultat ObjectPlacementDefinition

Create_OnEdge() public static méthode

Constructs an object placement query definition requiring the object to be placed on the edge of a platform.
public static Create_OnEdge ( Vector3 halfDims, Vector3 halfDimsBottom ) : ObjectPlacementDefinition
halfDims Vector3 Required half size of the requested bounding volume
halfDimsBottom Vector3 Half size of the bottom part of the placement volume
Résultat ObjectPlacementDefinition

Create_OnFloor() public static méthode

Constructs an object placement query definition requiring the object to be placed on the floor.
public static Create_OnFloor ( Vector3 halfDims ) : ObjectPlacementDefinition
halfDims Vector3 Required half size of the requested bounding volume
Résultat ObjectPlacementDefinition

Create_OnFloorAndCeiling() public static méthode

Constructs an object placement query definition requiring the object to be have space on the floor and ceiling within the same vertical space.
public static Create_OnFloorAndCeiling ( Vector3 halfDims, Vector3 halfDimsBottom ) : ObjectPlacementDefinition
halfDims Vector3 Required half size of the requested bounding volume
halfDimsBottom Vector3 Half size of the bottom part of the placement volume
Résultat ObjectPlacementDefinition

Create_OnShape() public static méthode

Constructs an object placement query definition requiring the object to be placed on top of another object placed object.
public static Create_OnShape ( Vector3 halfDims, string shapeName, int componentIndex ) : ObjectPlacementDefinition
halfDims Vector3 Required half size of the requested bounding volume
shapeName string Name of the placed object
componentIndex int Index of the component within shapeName
Résultat ObjectPlacementDefinition

Create_OnWall() public static méthode

Constructs an object placement query definition requiring the object to be placed on a wall.
public static Create_OnWall ( Vector3 halfDims, float heightMin, float heightMax, WallTypeFlags wallTypes = WallTypeFlags.External|WallTypeFlags.Normal, float marginLeft = 0.0f, float marginRight = 0.0f ) : ObjectPlacementDefinition
halfDims Vector3 Required half size of the requested bounding volume
heightMin float Minimum height of the requested volume above the floor
heightMax float Maximum height of the requested volume above the floor
wallTypes WallTypeFlags Bit mask of possible walls to consider, defined by WallTypeFlags
marginLeft float Required empty wall space to the left of the volume, as defined by facing the wall
marginRight float Required empty wall space to the right of the volume, as defined by facing the wall
Résultat ObjectPlacementDefinition

Create_RandomInAir() public static méthode

Constructs an object placement query definition requiring the object to be placed floating in space, within the playspace. Spaces visible from the center of the playspace are favored.
public static Create_RandomInAir ( Vector3 halfDims ) : ObjectPlacementDefinition
halfDims Vector3 Required half size of the requested bounding volume
Résultat ObjectPlacementDefinition

Create_UnderPlatformEdge() public static méthode

Constructs an object placement query definition requiring the object to be place under a platform edge.
public static Create_UnderPlatformEdge ( Vector3 halfDims ) : ObjectPlacementDefinition
halfDims Vector3 Required half size of the requested bounding volume
Résultat ObjectPlacementDefinition

Property Details

HalfDims public_oe property

public Vector3 HalfDims
Résultat Vector3

PlacementParam_Float_0 public_oe property

public float PlacementParam_Float_0
Résultat float

PlacementParam_Float_1 public_oe property

public float PlacementParam_Float_1
Résultat float

PlacementParam_Float_2 public_oe property

public float PlacementParam_Float_2
Résultat float

PlacementParam_Float_3 public_oe property

public float PlacementParam_Float_3
Résultat float

PlacementParam_Int_0 public_oe property

public int PlacementParam_Int_0
Résultat int

PlacementParam_Str_0 public_oe property

public IntPtr,System PlacementParam_Str_0
Résultat System.IntPtr

Type public_oe property

public PlacementType Type
Résultat PlacementType

WallFlags public_oe property

public int WallFlags
Résultat int