FloorShapeTool
Extends: ShapeTool < Tool < Object
Description
The tool used to edit floor shapes. Use World.Level.FloorShapes if you want to create floor shapes instead.
Accessed by Global.Editor.Tools["FloorShapeTool"]
.
Properties
int | SmartTileId |
Texture | WallTexture |
Color | WallColor |
bool | Bevel |
Button | EditPoints |
bool | isDragging |
Methods
void | ChangeColor ( Color color, String name ) |
Color | GetWallColor ( Texture texture = null ) |
void | SetWallColor ( Color color ) |
Property Descriptions
- int SmartTileId:
Gets and sets the floor style id
- Texture WallTexture:
Gets and sets the wall texture/style
- Color WallColor:
Gets and sets the wall color
- bool Bevel:
Gets and sets whether the walls should have beveled corners.
- Button EditPoints:
The UI control that determines if the user is editing existing points instead of creating new shapes.
- bool isDragging:
Is the user actively dragging a point on an existing floor shape.
Method Descriptions
- void ChangeColor ( Color color, String name ):
Changes the floor colors. Valid entries for names are: "FloorColor" and "WallColor".
- Color GetWallColor ( Texture texture = null ):
Get the current selected wall style's color if applicable.
- void SetWallColor ( Color color ):
Set the current selected wall style's color if applicable.