C# Class HoloToolkit.Unity.SpatialUnderstandingDllObjectPlacement.ObjectPlacementRule

Afficher le fichier Open project: Microsoft/HoloToolkit-Unity

Méthodes publiques

Свойство Type Description
RuleParam_Float_0 float
RuleParam_Float_1 float
RuleParam_Int_0 int
RuleParam_Vec3_0 Vector3
Type ObjectPlacementRuleType

Méthodes publiques

Méthode Description
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

Method Details

Create_AwayFromOtherObjects() public static méthode

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
Résultat ObjectPlacementRule

Create_AwayFromPosition() public static méthode

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.
Résultat ObjectPlacementRule

Create_AwayFromWalls() public static méthode

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
Résultat ObjectPlacementRule

Property Details

RuleParam_Float_0 public_oe property

public float RuleParam_Float_0
Résultat float

RuleParam_Float_1 public_oe property

public float RuleParam_Float_1
Résultat float

RuleParam_Int_0 public_oe property

public int RuleParam_Int_0
Résultat int

RuleParam_Vec3_0 public_oe property

public Vector3 RuleParam_Vec3_0
Résultat Vector3

Type public_oe property

public ObjectPlacementRuleType Type
Résultat ObjectPlacementRuleType