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

파일 보기 프로젝트 열기: Microsoft/HoloToolkit-Unity

공개 프로퍼티들

프로퍼티 타입 설명
RuleParam_Float_0 float
RuleParam_Float_1 float
RuleParam_Float_2 float
RuleParam_Int_0 int
RuleParam_Vec3_0 Vector3
Type ObjectPlacementConstraintType

공개 메소드들

메소드 설명
Create_AwayFromOtherObjects ( ) : ObjectPlacementConstraint

Constructs an object placement constraint requesting that the placement volume be placed away from other place objects.

Create_AwayFromPoint ( Vector3 position ) : ObjectPlacementConstraint

Constructs an object placement constraint requesting that the placement volume be placed away from the specified position.

Create_AwayFromWalls ( ) : ObjectPlacementConstraint

Constructs an object placement constraint requesting that the placement volume be placed away from all walls.

Create_NearCenter ( float minDistance = 0.0f, float maxDistance = 0.0f ) : ObjectPlacementConstraint

Constructs an object placement constraint requesting that the placement volume be placed near the center of the playspace.

Create_NearPoint ( Vector3 position, float minDistance = 0.0f, float maxDistance = 0.0f ) : ObjectPlacementConstraint

Constructs an object placement constraint requesting that the placement volume be placed no closer than minDistance and no further than maxDistance from the specified position.

Create_NearWall ( float minDistance = 0.0f, float maxDistance = 0.0f, float minWallHeight = 0.0f, bool includeVirtualWalls = false ) : ObjectPlacementConstraint

Constructs an object placement constraint requesting that the placement volume be placed no closer than minDistance and no further than maxDistance from a wall.

메소드 상세

Create_AwayFromOtherObjects() 공개 정적인 메소드

Constructs an object placement constraint requesting that the placement volume be placed away from other place objects.
public static Create_AwayFromOtherObjects ( ) : ObjectPlacementConstraint
리턴 ObjectPlacementConstraint

Create_AwayFromPoint() 공개 정적인 메소드

Constructs an object placement constraint requesting that the placement volume be placed away from the specified position.
public static Create_AwayFromPoint ( Vector3 position ) : ObjectPlacementConstraint
position Vector3 The center point from switch minDistance and maxDistance define their volumes
리턴 ObjectPlacementConstraint

Create_AwayFromWalls() 공개 정적인 메소드

Constructs an object placement constraint requesting that the placement volume be placed away from all walls.
public static Create_AwayFromWalls ( ) : ObjectPlacementConstraint
리턴 ObjectPlacementConstraint

Create_NearCenter() 공개 정적인 메소드

Constructs an object placement constraint requesting that the placement volume be placed near the center of the playspace.
public static Create_NearCenter ( float minDistance = 0.0f, float maxDistance = 0.0f ) : ObjectPlacementConstraint
minDistance float The minimum distance from the center to place the object
maxDistance float The maximum distance from the center to place the object
리턴 ObjectPlacementConstraint

Create_NearPoint() 공개 정적인 메소드

Constructs an object placement constraint requesting that the placement volume be placed no closer than minDistance and no further than maxDistance from the specified position.
public static Create_NearPoint ( Vector3 position, float minDistance = 0.0f, float maxDistance = 0.0f ) : ObjectPlacementConstraint
position Vector3 The center point from switch minDistance and maxDistance define their volumes
minDistance float The minimum distance from position to place the object
maxDistance float The maximum distance from position to place the object
리턴 ObjectPlacementConstraint

Create_NearWall() 공개 정적인 메소드

Constructs an object placement constraint requesting that the placement volume be placed no closer than minDistance and no further than maxDistance from a wall.
public static Create_NearWall ( float minDistance = 0.0f, float maxDistance = 0.0f, float minWallHeight = 0.0f, bool includeVirtualWalls = false ) : ObjectPlacementConstraint
minDistance float The minimum distance from position to place the object
maxDistance float The maximum distance from position to place the object
minWallHeight float Minimum height of a wall to be considered by this rule
includeVirtualWalls bool Indicates virtual walls should be considered in this query
리턴 ObjectPlacementConstraint

프로퍼티 상세

RuleParam_Float_0 공개적으로 프로퍼티

public float RuleParam_Float_0
리턴 float

RuleParam_Float_1 공개적으로 프로퍼티

public float RuleParam_Float_1
리턴 float

RuleParam_Float_2 공개적으로 프로퍼티

public float RuleParam_Float_2
리턴 float

RuleParam_Int_0 공개적으로 프로퍼티

public int RuleParam_Int_0
리턴 int

RuleParam_Vec3_0 공개적으로 프로퍼티

public Vector3 RuleParam_Vec3_0
리턴 Vector3

Type 공개적으로 프로퍼티

public ObjectPlacementConstraintType Type
리턴 ObjectPlacementConstraintType