Optional
_accessibleOptional
_accessibleOptional
_filterOptional
_maskOptional
_maskOptional
_renderOptional
accessible
Optional
accessibleSetting to false will prevent any children inside this container to be accessible. Defaults to true.
Optional
accessibleSets the aria-label attribute of the shadow div
Optional
accessibleSpecify the pointer-events the accessible div will use Defaults to auto.
Optional
accessibleSets the title attribute of the shadow div If accessibleTitle AND accessibleHint has not been this will default to 'container [tabIndex]'
Optional
accessibleSpecify the type of div the accessible layer is. Screen readers treat the element differently depending on this type. Defaults to button.
An optional bounds area for this container. Setting this rectangle will stop the renderer from recursively measuring the bounds of each children and instead use this single boundArea. This is great for optimisation! If for example you have a 1000 spinning particles and you know they all sit within a specific bounds, then setting it will mean the renderer will not need to measure the 1000 children to find the bounds. Instead it will just use the bounds you set.
Readonly
children
The array of children of this container.
Optional
cullable
Should this object be rendered if the bounds of this object are out of frame?
Culling has no effect on whether updateTransform is called.
Optional
cullableDetermines if the children to the container can be culled Setting this to false allows PixiJS to bypass a recursive culling function Which can help to optimize very complex scenes
Optional
cullIf set, this shape is used for culling instead of the bounds of this object. It can improve the culling performance of objects with many children. The culling area is defined in local space.
Optional
cursor
The cursor preferred when the mouse pointer is hovering over.
Readonly
destroy$
When Lifecycle Object is destroyed, it emits and closes this subject. Along with destroying his children, which in turn behave the same.
If the object has been destroyed via destroy(). If true, it should not be used.
Optional
effects
Optional
eventThe mode of interaction for this object
Optional
filterParent GameObject is assigned at creation.
Readonly
groupThe group transform is a transform relative to the render group it belongs too. If this container is render group then this will be an identity matrix. other wise it will be the same as the relativeGroupTransform. Use this value when actually rendering things to the screen
Optional
hitThe hit-area specifies the area for which pointer events should be captured by this event target.
Optional
interactive
Whether this event target should fire UI events.
Optional
interactiveWhether this event target has any children that need UI events. This can be used optimize event propagation.
Returns true if the Container has interactive 'static' or 'dynamic'
Each Lifecycle Object has label for pixi debugging.
Readonly
localCurrent transform of the object based on local factors: position, scale, other stuff.
Optional
onclick
Handler for 'click' event
Optional
onglobalmousemove
Handler for 'globalmousemove' event
Optional
onglobalpointermove
Handler for 'globalpointermove' event
Optional
onglobaltouchmove
Handler for 'globaltouchmove' event
Optional
onmousedown
Handler for 'mousedown' event
Optional
onmouseenter
Handler for 'mouseenter' event
Optional
onmouseleave
Handler for 'mouseleave' event
Optional
onmousemove
Handler for 'mousemove' event
Optional
onmouseout
Handler for 'mouseout' event
Optional
onmouseover
Handler for 'mouseover' event
Optional
onmouseup
Handler for 'mouseup' event
Optional
onmouseupoutside
Handler for 'mouseupoutside' event
Optional
onpointercancel
Handler for 'pointercancel' event
Optional
onpointerdown
Handler for 'pointerdown' event
Optional
onpointerenter
Handler for 'pointerenter' event
Optional
onpointerleave
Handler for 'pointerleave' event
Optional
onpointermove
Handler for 'pointermove' event
Optional
onpointerout
Handler for 'pointerout' event
Optional
onpointerover
Handler for 'pointerover' event
Optional
onpointertap
Handler for 'pointertap' event
Optional
onpointerup
Handler for 'pointerup' event
Optional
onpointerupoutside
Handler for 'pointerupoutside' event
Optional
onrightclick
Handler for 'rightclick' event
Optional
onrightdown
Handler for 'rightdown' event
Optional
onrightup
Handler for 'rightup' event
Optional
onrightupoutside
Handler for 'rightupoutside' event
Optional
ontap
Handler for 'tap' event
Optional
ontouchcancel
Handler for 'touchcancel' event
Optional
ontouchend
Handler for 'touchend' event
Optional
ontouchendoutside
Handler for 'touchendoutside' event
Optional
ontouchmove
Handler for 'touchmove' event
Optional
ontouchstart
Handler for 'touchstart' event
Optional
onwheel
Handler for 'wheel' event
The display object container that contains this display object.
Readonly
relativeThe relative group transform is a transform relative to the render group it belongs too. It will include all parent transforms and up to the render group (think of it as kind of like a stage - but the stage can be nested). If this container is is self a render group matrix will be relative to its parent render group
Readonly
renderOptional
tabReadonly
uid
unique id for this container
Readonly
update$
When Lifecycle Object is updated, it emits this subject. Along with updating his children, which in turn behave the same.
Static
prefixed
The opacity of the object.
The angle of the object in degrees. 'rotation' and 'angle' have the same effect on a display object; rotation is in radians, angle is in degrees.
The blend mode to be applied to the sprite. Apply a value
of 'normal'
to reset the blend mode.
The height of the Container, setting this will actually modify the scale to achieve the value set.
Whether or not the object should be rendered.
Returns true if this container is a render group. This means that it will be rendered as a separate pass, with its own set of instructions
The center of rotation, scaling, and skewing for this
display object in its local space. The
position
is the projection of
pivot
in the parent's local space.
By default, the pivot is the origin (0, 0).
The coordinate of the object relative to the local coordinates of the parent.
Can this object be rendered, if false the object will not be drawn but the transform will still be updated.
The rotation of the object in radians. 'rotation' and 'angle' have the same effect on a display object; rotation is in radians, angle is in degrees.
The scale factors of this object along the local coordinate axes.
The default scale is (1, 1).
The skew factor for the object in radians.
The tint applied to the sprite. This is a hex value.
A value of 0xFFFFFF will remove any tint effect.
The visibility of the object. If false the object will not be drawn, and the transform will not be updated.
The width of the Container, setting this will actually modify the scale to achieve the value set.
Current transform of the object based on world (parent) factors.
The position of the container on the x axis relative to the local coordinates of the parent. An alias to position.x
The position of the container on the y axis relative to the local coordinates of the parent. An alias to position.y
Optional
options:
AddListenerOptions
Rest
...args:
ArgumentMap<ContainerEvents<ContainerChild>
& AnyEvent>[Extract<T, (keyof
ContainerEvents<ContainerChild>)
| (keyof AnyEvent)>]
Optional
context:
any
Calls each of the listeners registered for a given event.
Return the listeners registered for a given event.
Optional
fn:
((...args: ArgumentMap<ContainerEvents<ContainerChild> & AnyEvent>[Extract<T, (keyof
ContainerEvents<ContainerChild>) | (keyof
AnyEvent)>]) => void)
Rest
...args:
ArgumentMap<ContainerEvents<ContainerChild>
& AnyEvent>[Extract<T, (keyof
ContainerEvents<ContainerChild>)
| (keyof AnyEvent)>]
Optional
context:
any
Optional
once:
boolean
Add a listener for a given event.
Rest
...args:
ArgumentMap<ContainerEvents<ContainerChild>
& AnyEvent>[Extract<T, (keyof
ContainerEvents<ContainerChild>)
| (keyof AnyEvent)>]
Optional
context:
any
Add a one-time listener for a given event.
Rest
...args:
ArgumentMap<ContainerEvents<ContainerChild>
& AnyEvent>[Extract<T, (keyof
ContainerEvents<ContainerChild>)
| (keyof AnyEvent)>]
Optional
context:
any
Optional
options:
RemoveListenerOptions
Remove the listeners of a given event.
Optional
fn:
((...args: ArgumentMap<ContainerEvents<ContainerChild> & AnyEvent>[Extract<T, (keyof
ContainerEvents<ContainerChild>) | (keyof
AnyEvent)>]) => void)
Rest
...args:
ArgumentMap<ContainerEvents<ContainerChild>
& AnyEvent>[Extract<T, (keyof
ContainerEvents<ContainerChild>)
| (keyof AnyEvent)>]
Optional
context:
any
Optional
once:
boolean
Sets the size of the container to the specified width and height. This is faster than setting the width and height separately.
This can be either a number or a [Size]Size object.
Optional
height:
number
The height to set. Defaults to the value of
width
if not provided.
Static
mixin
Flag for if the object is accessible. If true AccessibilityManager will overlay a shadow div with attributes set