defaultFactoryMethods
const
defaultFactoryMethods:object
Defined in: mixins/factory/const.ts:46
Type declaration
animatedSprite()
animatedSprite: (
props
?) =>AnimatedSprite
Parameters
props?
Partial
<AnimatedSpriteProps
>
Returns
bitmapText()
bitmapText: (
props
?) =>BitmapText
Parameters
props?
Partial
<TextProps
>
Returns
BitmapText
button()
button: (
props
?) =>Button
Parameters
props?
Partial
<ButtonProps
>
Returns
container()
container: (
props
?) =>Container
<Application
<DataSchema
,ActionContext
,Action
,Renderer
>>
Parameters
props?
Partial
<ContainerProps
>
Returns
Container
<Application
<DataSchema
, ActionContext
, Action
, Renderer
>>
existing()
existing: <
TEntity
>(entity
,props
?) =>TEntity
Type Parameters
• TEntity
Parameters
entity
TEntity
props?
Partial
<ExistingProps
>
Returns
TEntity
flexContainer()
flexContainer: (
props
?) =>FlexContainer
Parameters
props?
Partial
<FlexContainerProps
>
Returns
graphics()
graphics: (
props
?) =>Graphics
Parameters
props?
Partial
<GraphicsProps
>
Returns
Graphics
htmlText()
htmlText: (
props
?) =>HTMLText
Parameters
props?
Partial
<HTMLTextProps
>
Returns
HTMLText
particleContainer()
particleContainer: (
props
?) =>ParticleContainer
<Application
<DataSchema
,ActionContext
,Action
,Renderer
>>
Parameters
props?
Partial
<ParticleContainerProps
>
Returns
ParticleContainer
<Application
<DataSchema
, ActionContext
, Action
, Renderer
>>
spine()
spine: (
props
?) =>Spine
Parameters
props?
Partial
<SpineProps
>
Returns
spineAnimation()
spineAnimation: (
props
?) =>SpineAnimation
Parameters
props?
Partial
<SpineProps
>
Returns
sprite()
sprite: (
props
?) =>Sprite
Parameters
props?
Partial
<SpriteProps
>
Returns
Sprite
text()
text: (
props
?) =>Text
Parameters
props?
Partial
<TextProps
>
Returns
Text
texture()
texture: (
props
?) =>Texture
=resolveTexture
Parameters
props?
Partial
<TextureProps
>
Returns
Texture
tilingSprite()
tilingSprite: (
props
?) =>TilingSprite
Parameters
props?
Partial
<TilingSpriteProps
>
Returns
TilingSprite
toaster()
toaster: (
toasterConfig
?,defaultToastConfig
) =>Toaster
Parameters
toasterConfig?
Partial
<ToasterConfig
>
defaultToastConfig?
Partial
<ToastConfig
> = {}
Returns
uiCanvas()
uiCanvas: (
props
?) =>UICanvas
Parameters
props?
Partial
<UICanvasFactoryProps
>
Returns
svg()
Parameters
props
WithRequiredProps
<SvgProps
, "ctx"
>