C# Класс HoloToolkit.Unity.SpatialUnderstandingDllObjectPlacement.ObjectPlacementRule

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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