Skip to main content

Interface: TemplateData

Contains data for an interactive hotspot template.

This interface represents the content and configuration for information displayed when a user interacts with a hotspot on a 3D model. Hotspots provide contextual information about specific parts or features of a product.

Properties​

blocks​

blocks: TemplateBlock[]

Content blocks that make up this template.

These blocks contain the actual information displayed in the hotspot, which may include text descriptions, image galleries, and document links.


showFullscreen?​

optional showFullscreen?: boolean

Whether this hotspot can be expanded to fullscreen.

When true, the hotspot information can be viewed in an expanded fullscreen mode for more detailed examination of complex content.


templateId​

templateId: string

Unique identifier for this template.

This ID is used to retrieve and reference the specific template from the template management system.


templateName​

templateName: string

Display name for this hotspot template.

This title typically appears at the top of the hotspot information panel and identifies the feature or component being described.