프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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
|
public static Create_AwayFromOtherObjects ( float minDistance ) : ObjectPlacementRule | ||
minDistance | float | Minimum distance from other placed objects |
리턴 | ObjectPlacementRule |
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 |
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 |