Interface DigitalPerformancePluginConfig

interface DigitalPerformancePluginConfig {
    autoPlay?: boolean;
    debug?: boolean;
    loop?: boolean;
    nameplateOptions?: DigitalPerformanceNameplateOptions;
    showNameplate?: boolean;
}

Properties

autoPlay?: boolean
debug?: boolean
loop?: boolean

内置名牌的自定义配置(class / 内联样式 / 文本 / 自定义渲染器等)。仅 showNameplate 为真时生效。

showNameplate?: boolean

是否展示模型头顶的 2D 气泡名牌(默认 true)。 插件会内置挂载到 five canvas 的父容器,调用方无需提供容器,仅需声明是否展示。