UI Framework ReferenceI3DItem

Interface: I3DItem

Provides properties that are used to visualize 3D models.

For more details, you can refer to the 3D-Viewer widget.

The following example illustrates how you can specify a two-sided model in the 3D-Viewer widget.

{
    "widgets": [{
        "name": "preview",
        "type": "3d-viewer",
        "params": {
            "items": [{
                "images": [
                    "https://example.com/800/600",
                    "https://example.com/1000/601"
                ],
                "model": "http://localhost:8081/box.dae"
            }]
        }
    }]
}

Hierarchy

  • I3DItem

Index

Properties

Properties

Optional animation

animation? : string

Defined in src/widgets/au-widget-3d-viewer/I3DViewerParams.ts:68

Animation of elements (an autogenerated property of a model).


images

images: string[]

Defined in src/widgets/au-widget-3d-viewer/I3DViewerParams.ts:62

Images that are applied to the model as textures. For two-side models, the first image will be applied to the front surface and the second image - to the back surface.


model

model: string

Defined in src/widgets/au-widget-3d-viewer/I3DViewerParams.ts:64

A link to a .dae file.


Optional position

position? : string

Defined in src/widgets/au-widget-3d-viewer/I3DViewerParams.ts:66

A position of the element (an autogenerated property of a model).