Skip to content

Commit

Permalink
USDZExporter: Add ar and includeAnchoringProperties options (#938)
Browse files Browse the repository at this point in the history
* USDZExporter: Add ar and includeAnchoringProperties options

* Update USDZExporter.d.ts

---------

Co-authored-by: Nathan Bierema <nbierema@gmail.com>
  • Loading branch information
vincentfretin and Methuselah96 authored May 17, 2024
1 parent 82b6263 commit bbe75e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions types/three/examples/jsm/exporters/USDZExporter.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { Object3D } from "three";

export interface USDZExporterOptions {
quickLookCompatible?: boolean;
maxTextureSize?: number;
ar?: { anchoring: { type: "plane" }; planeAnchoring: { alignment: "horizontal" | "vertical" | "any" } } | undefined;
includeAnchoringProperties?: boolean | undefined;
quickLookCompatible?: boolean | undefined;
maxTextureSize?: number | undefined;
}

export class USDZExporter {
Expand Down

0 comments on commit bbe75e5

Please sign in to comment.