Revision Difference
Structures/RenderCaptureData#517041
<cat>struct</cat>
<structure>
<description>Used for <page>render.Capture</page>.</description>
<fields>{{StructureField|string|format|Format of the capture. Valid formats are: jpeg, png</fields>⤶
<fields>⤶
<item name="format" type="string">Format of the capture. Valid formats are: jpeg, png</item>⤶
<item name="x" type="number">X coordinate of the capture origin</item>⤶
<item name="y" type="number">Y coordinate of the capture origin</item>⤶
<item name="w" type="number">Width of the capture</item>⤶
<item name="h" type="number">Height of the capture</item>⤶
<item name="quality" type="number">The quality of the capture. Affects jpeg only.</item>⤶
{{StructureField|boolean|alpha|Set to false to capture an image with alpha channel set to fully opaque. Affects png only.|true⤶
</fields>⤶
</structure>
⤶
{{StructureField|number|x|X coordinate of the capture origin}}{{StructureField|number|y|Y coordinate of the capture origin}}{{StructureField|number|w|Width of the capture}}{{StructureField|number|h|Height of the capture}}{{StructureField|number|quality|The quality of the capture. Affects jpeg only.}}{{StructureField|boolean|alpha|Set to false to capture an image with alpha channel set to fully opaque. Affects png only.|true}}⤶
⤶
⤶
}}