The environment to pull assets from
Optional callbacksOptional onOptional onOptional cameraAdvanced camera options
Optional allowOptional defaultOptional defaultOptional embeddedOptional fieldOptional lighting?: LightingLighting app config; only applicable when using spins in a stand-alone context; from within product config or other application, use manifest app config to set lighting config
Optional lowerOptional lowerOptional upperOptional upperOptional customOptional place?: MxtModularConfigPlacingIconsOptional customOptional defaultOptions around the default product to load, only provide one of the following
Optional product?: ProductOptional productOptional productOptional productOptional sku?: stringOptional skuOptional disabledisable the progressive loading if true
Element to place the spins inside of
Optional fitMultiplier; amount of space product takes up in screen by default; defaults to 1.2 (leaves 20% of space on edges).
Optional fontOptional color?: IColor3RGB values 0-255
Optional family?: stringReflects CSS font-family, assuming values are browser-supported or already imported
Optional sizeOptional sizeOptional sizeOptional sizeOptional sizeOptional sizeNumber values are treated as pixels, otherwise as string unit values
Optional sizeOptional initialCode to load into the scene on startup
Optional loadprovides client-specific way of modifying the load of a product
Optional loadIf true, init will NOT start the renderer. Use this if you want to create the spin viewer prior to actually displaying it. Use .run() to start the renderer
Optional loggingLog level; defaults to WARN (3)
Optional maxMultiplier; How much you can zoom out past the initial zoom. Defaults to 2. A value of 1 would mean that the initial zoom distance is the farthest you can zoom out
Optional menuID to match menu data; use this if you have multiple different categories of products and you need to specify which one
Optional pluginsOptional pricingOptional hideOptional showOptional primaryPrimary color, rgb 0->255
Optional productOptional descriptionOptional responsiveOptional minOptional rotateRotate Delta - in radians; defaults to .3
Optional screenshotReturn the name to give the screenshot
Optional servicesOptional environment?: MSServiceEnvironmentOptional unitUnit type to display values in
Optional zoomZoom Delta - in meters; defaults to .3
Generated using TypeDoc
private access key to spins