Layout
The representation of a full touch layout for a game.
Properties
content
- object. A Content object that defines the actual content of the layout.
styles
- object, optional. A Styles object containing a collection of reusable styles which can be referenced throughout the layout for styling purposes.
definitions
- object, optional. A section that can be used to contain reusable components and values for touch layouts.
Requirements
The version of the layout is specified by the $schema
attribute in the layout json file. This specifies the specific set of controls and capabilities that are available in the layout.
The properties described here are valid for layout versions 4.0 and above.
See Also
Touch Adaptation Kit Reference
Getting started with sample layouts