Skip to content

@shbernal/ts-pptx


@shbernal/ts-pptx / index / Model3dProps

Type Alias: Model3dProps

Model3dProps = Model3dBaseProps & DataOrPathRequiredProps

Defined in: src/types/model3d.ts:119

Options for slide.addModel3d(). Requires either data (base64, with or without a data:...;base64, header) or path (a local/remote .glb read at export time).

Sizing note: w/h default to 4 × 3 inches rather than being measured. A 3D model has no intrinsic aspect ratio, and the library never opens the payload.