Interface: BaseParticles
features/particles/particles.BaseParticles
Properties
[Component]
• [Component]: DefineComponent
<{ classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; id
: { required
: true
= true; type
: StringConstructor
= String } ; onContainerResized
: PropType
<(rect
: DOMRect
) => void
> ; onHotReload
: PropType
<VoidFunction
> ; onInit
: { required
: true
= true; type
: PropType
<(app
: Application
) => void
> } ; style
: PropType
<ProcessedComputable
<StyleValue
>> }, { resizeListener
: Ref
<null
| HTMLElement
> ; unref
: <T>(ref
: T
| Ref
<T
>) => T
}, unknown
, {}, {}, ComponentOptionsMixin
, ComponentOptionsMixin
, Record
<string
, any
>, string
, PublicProps
, Readonly
<ExtractPropTypes
<{ classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; id
: { required
: true
= true; type
: StringConstructor
= String } ; onContainerResized
: PropType
<(rect
: DOMRect
) => void
> ; onHotReload
: PropType
<VoidFunction
> ; onInit
: { required
: true
= true; type
: PropType
<(app
: Application
) => void
> } ; style
: PropType
<ProcessedComputable
<StyleValue
>> }>>, {}>
Defined in
profectus/src/features/particles/particles.tsx:30
app
• app: Ref
<null
| Application
>
Defined in
profectus/src/features/particles/particles.tsx:27
id
• id: string
Defined in
profectus/src/features/particles/particles.tsx:26
type
• type: typeof ParticlesType
Defined in
profectus/src/features/particles/particles.tsx:29
Methods
[GatherProps]
▸ [GatherProps](): Record
<string
, unknown
>
Returns
Record
<string
, unknown
>
Defined in
profectus/src/features/particles/particles.tsx:31
addEmitter
▸ addEmitter(config
): Promise
<Emitter
>
Parameters
Name | Type |
---|---|
config | EmitterConfigV3 |
Returns
Promise
<Emitter
>