Gets the bottom-center coordinate of this Game Object, regardless of origin.
The returned point is calculated in local space and does not factor in any parent Containers,
unless the includeParent argument is set to true.
Optionaloutput: OAn object to store the values in. If not provided a new Vector2 will be created.
OptionalincludeParent: booleanIf this Game Object has a parent Container, include it (and all other ancestors) in the resulting vector? Default false.
Gets the bottom-left corner coordinate of this Game Object, regardless of origin.
The returned point is calculated in local space and does not factor in any parent Containers,
unless the includeParent argument is set to true.
Optionaloutput: OAn object to store the values in. If not provided a new Vector2 will be created.
OptionalincludeParent: booleanIf this Game Object has a parent Container, include it (and all other ancestors) in the resulting vector? Default false.
Gets the bottom-right corner coordinate of this Game Object, regardless of origin.
The returned point is calculated in local space and does not factor in any parent Containers,
unless the includeParent argument is set to true.
Optionaloutput: OAn object to store the values in. If not provided a new Vector2 will be created.
OptionalincludeParent: booleanIf this Game Object has a parent Container, include it (and all other ancestors) in the resulting vector? Default false.
Gets the center coordinate of this Game Object, regardless of origin.
The returned point is calculated in local space and does not factor in any parent Containers,
unless the includeParent argument is set to true.
Optionaloutput: OAn object to store the values in. If not provided a new Vector2 will be created.
OptionalincludeParent: booleanIf this Game Object has a parent Container, include it (and all other ancestors) in the resulting vector? Default false.
Gets the left-center coordinate of this Game Object, regardless of origin.
The returned point is calculated in local space and does not factor in any parent Containers,
unless the includeParent argument is set to true.
Optionaloutput: OAn object to store the values in. If not provided a new Vector2 will be created.
OptionalincludeParent: booleanIf this Game Object has a parent Container, include it (and all other ancestors) in the resulting vector? Default false.
Gets the right-center coordinate of this Game Object, regardless of origin.
The returned point is calculated in local space and does not factor in any parent Containers,
unless the includeParent argument is set to true.
Optionaloutput: OAn object to store the values in. If not provided a new Vector2 will be created.
OptionalincludeParent: booleanIf this Game Object has a parent Container, include it (and all other ancestors) in the resulting vector? Default false.
Gets the top-center coordinate of this Game Object, regardless of origin.
The returned point is calculated in local space and does not factor in any parent Containers,
unless the includeParent argument is set to true.
Optionaloutput: OAn object to store the values in. If not provided a new Vector2 will be created.
OptionalincludeParent: booleanIf this Game Object has a parent Container, include it (and all other ancestors) in the resulting vector? Default false.
Gets the top-left corner coordinate of this Game Object, regardless of origin.
The returned point is calculated in local space and does not factor in any parent Containers,
unless the includeParent argument is set to true.
Optionaloutput: OAn object to store the values in. If not provided a new Vector2 will be created.
OptionalincludeParent: booleanIf this Game Object has a parent Container, include it (and all other ancestors) in the resulting vector? Default false.
Gets the top-right corner coordinate of this Game Object, regardless of origin.
The returned point is calculated in local space and does not factor in any parent Containers,
unless the includeParent argument is set to true.
Optionaloutput: OAn object to store the values in. If not provided a new Vector2 will be created.
OptionalincludeParent: booleanIf this Game Object has a parent Container, include it (and all other ancestors) in the resulting vector? Default false.
Provides methods used for obtaining the bounds of a Game Object. Should be applied as a mixin and not used directly.