Variant Docs
  • How Variant Works
  • 3D Content
    • Tags
    • Tagging Objects & Groups
    • Tagging Materials
    • Using Swatches
    • 3D Model Delivery Requirements
  • Variant V2 SDK
    • Embedding the SDK
    • Setting Mesh Options
    • Moving, Rotating & Scaling Objects
    • Setting Material Options
    • Setting Texture Options (Beta)
    • Setting Morph Options (Beta)
    • Launching an AR Quicklook
    • Embedding the 3D viewer on your webpage
    • Browser/Hardware Compatibility
  • Releases
    • Change Log
Powered by GitBook
On this page
  • Morphs
  1. Variant V2 SDK

Setting Morph Options (Beta)

Create linear transforms that can create limitless variations in your meshes shape.

WARNING: Morphs are in beta and currently do not support iOS/USDZ. Contact us for an up-to-date timeline if you wish to use morphs in your project.

Morphs

Morphs allow you to set arbitrary scale, rotation, transform and morphing of the meshes in your product. They are created by your 3D editor as linear animations, then the amount is set via the API (using a value from 0.0 to 1.0, where 0.5 is the mid-point).

Morphs stack on top of one another additively, so you can combine them as needed to create limitless variations.

var data = {
    productCode: 'SKU001'
    options: {    
        morphs : [
            {
                tag: 'HEIGHT'
                amount: 0.5    
            },
            {
                tag: 'WIDTH'
                amount: 1.0    
            },
        ]
    }
};

PreviousSetting Texture Options (Beta)NextLaunching an AR Quicklook

Last updated 2 years ago