Build an image that can be rendered
The height of the image, in meters
The name of the file to use as the image, or a PixiSprite
Optionaloffset?: JLOffsetAn offset between the component's center and its RigidBody's center (optional)
The width of the image, in meters
Optionalz?: 0 | 1 | 2 | 4 | -4 | 3 | -3 | -2 | -1An optional z index in the range [-4,4]
OptionalactorThe Actor to which this ImageSprite is attached
Height of the image
The image to display for this actor
An offset between the ImageSprite's center and the RigidBody's center
Width of the image
Z index of the image
The name of the image file (empty if this ImageSprite wraps a raw PixiSprite instead of a named image)
Changing this loads the new named image and swaps it in immediately.
An internal method that lets us overwrite the image used by an ImageSprite with something generated directly by PIXI. This lets us turn screenshots into ImageSprites.
The sprite to use
Render the image when it does not have a rigidBody. This is only used for Parallax
The center x/y at which to draw the image
The camera for the current stage
Does this belong in the foreground (true) or background?
ImageSprite describes any object whose visual representation is a single image that is not animated.