Object TLayer
Unit
CastleTiledMap
Declaration
type TLayer = object(TObject)
Description
Layer definition. Internally we treat "object group" as normal layer.
Hierarchy
Overview
Fields
Methods
Description
Fields
 |
Name: string; |
The name of the layer.
|
 |
Opacity: Single; |
The opacity of the layer as a value from 0 to 1. Defaults to 1.
|
 |
Visible: Boolean; |
Whether the layer is shown (1) or hidden (0). Defaults to 1.
|
 |
OffsetX: Integer; |
Rendering offset for this layer in pixels. Defaults to 0. (since 0.14).
|
 |
OffsetY: Integer; |
Rendering offset for this layer in pixels. Defaults to 0. (since 0.14).
|
 |
IsLayerAnObjectGroup: Boolean; |
If True then the layer will be treated as object group instead of normal layer.
|
 |
Color: TCastleColorRGB; |
The color used to display the objects in this group.
|
 |
X: Integer; |
The x coordinate of the object group in tiles. Defaults to 0 and can no longer be changed in Tiled Qt.
|
 |
Y: Integer; |
The y coordinate of the object group in tiles. Defaults to 0 and can no longer be changed in Tiled Qt.
|
 |
Width: Integer; |
The width of the object group in tiles. Meaningless.
|
 |
Height: Integer; |
The height of the object group in tiles. Meaningless.
|
 |
DrawOrder: TObjectsDrawOrder; |
Whether the objects are drawn according to the order of appearance ("index") or sorted by their y-coordinate ("topdown"). Defaults to "topdown".
|
 |
Image: TImage; |
Used by ImageLayer.
|
Methods
 |
procedure Free; |
|
Generated by PasDoc 0.15.0.
|