LdtkBackgroundPosition
Instance Members
One of 4 float values describing the cropped sub-rectangle of the displayed background image. This cropping happens when original is larger than the level bounds.
One of 4 float values describing the cropped sub-rectangle of the displayed background image. This cropping happens when original is larger than the level bounds.
One of 4 float values describing the cropped sub-rectangle of the displayed background image. This cropping happens when original is larger than the level bounds.
One of 4 float values describing the cropped sub-rectangle of the displayed background image. This cropping happens when original is larger than the level bounds.
Scale X value of the cropped background image, depending on bgPos
option.
Scale Y value of the cropped background image, depending on bgPos
option.
X pixel coordinate of the top-left corner of the cropped background image, depending on bgPos
option.
Y pixel coordinate of the top-left corner of the cropped background image, depending on bgPos
option.
Returns |
---|
String |
Name | Type | Default |
---|---|---|
json |
haxe.DynamicAccess<Dynamic> | (optional) |