For a list of all members of this type, see ISmartPlaceable members.
Name | Description | |
---|---|---|
![]() | GetSmartBounds | Gets the bounds of the current object if it were placed at the specified position. |
![]() | GetSmartPositions | Gets an array of valid positions for the current object. Objects can individually place restrictions on where they can be placed, although in reality it's more likely that they'll just return a static array. The order of the valid positions has some significance, in that although the placer will choose the best overall position, it will stop searching as soon as it finds an ideal one. The upshot of all of this is that you should return an array sorted in order of preferred placement. |