Struct tego::ObjectLayer [−][src]
pub struct ObjectLayer {
pub id: usize,
pub name: String,
pub opacity: f32,
pub visible: bool,
pub offset: ivec2,
pub content: Vec<Object>,
}Expand description
An ObjectLayer is a container of Objects. Objects are not aligned to the tile grid, and can be used to include extra information in a map.
Check the Tiled Documentation for more information on objects.
Fields
id: usizename: Stringopacity: f32visible: booloffset: ivec2content: Vec<Object>The Objects contained in this layer