center

  • Centers the Scene at the origin, or above/below it. Transformations from animation, skinning, and morph targets are not taken into account.

    Example:

    await document.transform(center({pivot: 'below'}));
    
Function symbol, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.