Свойство | Type | Description | |
---|---|---|---|
RuleParam_Float_0 | float | ||
RuleParam_Float_1 | float | ||
RuleParam_Float_2 | float | ||
RuleParam_Int_0 | int | ||
RuleParam_Vec3_0 | Vector3 | ||
Type | ObjectPlacementConstraintType |
Méthode | Description | |
---|---|---|
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.
|
public static Create_AwayFromOtherObjects ( ) : ObjectPlacementConstraint | ||
Résultat | ObjectPlacementConstraint |
public static Create_AwayFromPoint ( Vector3 position ) : ObjectPlacementConstraint | ||
position | Vector3 | The center point from switch minDistance and maxDistance define their volumes |
Résultat | ObjectPlacementConstraint |
public static Create_AwayFromWalls ( ) : ObjectPlacementConstraint | ||
Résultat | ObjectPlacementConstraint |
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 |
Résultat | ObjectPlacementConstraint |
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 |
Résultat | ObjectPlacementConstraint |
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 |
Résultat | ObjectPlacementConstraint |