Hierarchy

  • default
    • FxManager

Constructors

  • Parameters

    • core: any

    Returns FxManager

Properties

core: default<any>
guid: string
viewer: Viewer

Methods

  • Parameters

    • specialEffect: default

    Returns boolean

  • 绑定特效到目标(实体/模型/图元),使其随目标更新。

    Parameters

    • fxId: string
    • target: Entity | Model | Primitive
    • Optional options: FxBindingOptions

    Returns boolean

  • 批量绑定:按输入列表绑定现有 FX 到目标,返回成功计数

    Parameters

    • items: {
          fxId: string;
          options?: FxBindingOptions;
          target: Entity | Model | Primitive;
      }[]

    Returns number

  • Returns void

  • 工厂:创建并注册 FX(不绑定目标)

    Parameters

    • type: any
    • options: any

    Returns default

  • 工厂:创建并绑定到目标

    Parameters

    • type: any
    • options: any
    • target: Entity | Model | Primitive
    • Optional bindingOptions: FxBindingOptions

    Returns default

  • 批量创建并绑定,返回成功创建且绑定的 FX 列表

    Parameters

    • items: {
          bindingOptions?: FxBindingOptions;
          options: any;
          target: Entity | Model | Primitive;
          type: any;
      }[]

    Returns default[]

  • 批量创建 FX(不绑定目标),返回成功创建的列表

    Parameters

    • items: {
          options: any;
          type: any;
      }[]

    Returns default[]

  • 解除绑定

    Parameters

    • fxId: string

    Returns boolean

  • Parameters

    • id: string

    Returns default

  • Parameters

    • id: string

    Returns boolean

  • 暂停所有绑定的位姿更新

    Returns void

  • 暂停指定 FX 的绑定更新

    Parameters

    • fxId: string

    Returns boolean

  • Parameters

    • id: string

    Returns boolean

  • 恢复所有绑定的位姿更新

    Returns void

  • 恢复指定 FX 的绑定更新

    Parameters

    • fxId: string

    Returns boolean

  • 更新绑定配置

    Parameters

    • fxId: string
    • options: Partial<FxBindingOptions>

    Returns boolean