C# 클래스 HoloToolkit.Unity.SpatialUnderstandingDllObjectPlacement.ObjectPlacementDefinition

파일 보기 프로젝트 열기: Microsoft/HoloToolkit-Unity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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.

메소드 상세

Create_InMidAir() 공개 정적인 메소드

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
리턴 ObjectPlacementDefinition

Create_OnCeiling() 공개 정적인 메소드

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
리턴 ObjectPlacementDefinition

Create_OnEdge() 공개 정적인 메소드

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
리턴 ObjectPlacementDefinition

Create_OnFloor() 공개 정적인 메소드

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
리턴 ObjectPlacementDefinition

Create_OnFloorAndCeiling() 공개 정적인 메소드

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
리턴 ObjectPlacementDefinition

Create_OnShape() 공개 정적인 메소드

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
리턴 ObjectPlacementDefinition

Create_OnWall() 공개 정적인 메소드

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
리턴 ObjectPlacementDefinition

Create_RandomInAir() 공개 정적인 메소드

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
리턴 ObjectPlacementDefinition

Create_UnderPlatformEdge() 공개 정적인 메소드

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
리턴 ObjectPlacementDefinition

프로퍼티 상세

HalfDims 공개적으로 프로퍼티

public Vector3 HalfDims
리턴 Vector3

PlacementParam_Float_0 공개적으로 프로퍼티

public float PlacementParam_Float_0
리턴 float

PlacementParam_Float_1 공개적으로 프로퍼티

public float PlacementParam_Float_1
리턴 float

PlacementParam_Float_2 공개적으로 프로퍼티

public float PlacementParam_Float_2
리턴 float

PlacementParam_Float_3 공개적으로 프로퍼티

public float PlacementParam_Float_3
리턴 float

PlacementParam_Int_0 공개적으로 프로퍼티

public int PlacementParam_Int_0
리턴 int

PlacementParam_Str_0 공개적으로 프로퍼티

public IntPtr,System PlacementParam_Str_0
리턴 System.IntPtr

Type 공개적으로 프로퍼티

public PlacementType Type
리턴 PlacementType

WallFlags 공개적으로 프로퍼티

public int WallFlags
리턴 int