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

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

공개 프로퍼티들

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

공개 메소드들

메소드 설명
Create_AwayFromOtherObjects ( float minDistance ) : ObjectPlacementRule

Constructs an object placement rule requiring the placement volume to be placed a minimum distance away from other placed objects

Create_AwayFromPosition ( Vector3 position, float minDistance ) : ObjectPlacementRule

Constructs an object placement rule requiring the placement volume to be placed a minimum distance away from the specified position.

Create_AwayFromWalls ( float minDistance, float minWallHeight = 0.0f ) : ObjectPlacementRule

Constructs an object placement rule requiring the placement volume to be placed a minimum distance away from any wall

메소드 상세

Create_AwayFromOtherObjects() 공개 정적인 메소드

Constructs an object placement rule requiring the placement volume to be placed a minimum distance away from other placed objects
public static Create_AwayFromOtherObjects ( float minDistance ) : ObjectPlacementRule
minDistance float Minimum distance from other placed objects
리턴 ObjectPlacementRule

Create_AwayFromPosition() 공개 정적인 메소드

Constructs an object placement rule requiring the placement volume to be placed a minimum distance away from the specified position.
public static Create_AwayFromPosition ( Vector3 position, float minDistance ) : ObjectPlacementRule
position Vector3 Defines the center position for the center of the invalid placement space.
minDistance float Defines the radius of the invalid placement space.
리턴 ObjectPlacementRule

Create_AwayFromWalls() 공개 정적인 메소드

Constructs an object placement rule requiring the placement volume to be placed a minimum distance away from any wall
public static Create_AwayFromWalls ( float minDistance, float minWallHeight = 0.0f ) : ObjectPlacementRule
minDistance float Minimum distance from a wall
minWallHeight float Minimum height of a wall to be considered by this rule
리턴 ObjectPlacementRule

프로퍼티 상세

RuleParam_Float_0 공개적으로 프로퍼티

public float RuleParam_Float_0
리턴 float

RuleParam_Float_1 공개적으로 프로퍼티

public float RuleParam_Float_1
리턴 float

RuleParam_Int_0 공개적으로 프로퍼티

public int RuleParam_Int_0
리턴 int

RuleParam_Vec3_0 공개적으로 프로퍼티

public Vector3 RuleParam_Vec3_0
리턴 Vector3

Type 공개적으로 프로퍼티

public ObjectPlacementRuleType Type
리턴 ObjectPlacementRuleType