gradio/js/model3D
pngwn bf5110a26b
chore: update versions (#7771)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-25 12:35:44 -04:00
..
shared Fix Canvas3D/Canvas3DGS async imports (#7511) 2024-02-22 22:28:56 +09:00
CHANGELOG.md chore: update versions (#7771) 2024-03-25 12:35:44 -04:00
Example.svelte Handle the case where examples is null for all components (#7192) 2024-01-29 16:51:22 -08:00
Index.svelte [WIP] Refactor file normalization to be in the backend and remove it from the frontend of each component (#7183) 2024-02-07 14:39:33 -08:00
package.json chore: update versions (#7771) 2024-03-25 12:35:44 -04:00
README.md Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00

gradio/model3d

<script>
    import {BaseModel3D, BaseModel3DUpload, BaseExample } from `@gradio/model3d`;
</script>

BaseModel3D

	export let value: FileData | null;
	export let clear_color: [number, number, number, number] = [0, 0, 0, 0];
	export let label = "";
	export let show_label: boolean;
	export let i18n: I18nFormatter;
	export let zoom_speed = 1;

	// alpha, beta, radius
	export let camera_position: [number | null, number | null, number | null] = [
		null,
		null,
		null
	];

BaseModel3DUpload

	export let value: null | FileData;
	export let clear_color: [number, number, number, number] = [0, 0, 0, 0];
	export let label = "";
	export let show_label: boolean;
	export let root: string;
	export let i18n: I18nFormatter;
	export let zoom_speed = 1;

	// alpha, beta, radius
	export let camera_position: [number | null, number | null, number | null] = [
		null,
		null,
		null
	];

BaseExample

	export let value: string;
	export let type: "gallery" | "table";
	export let selected = false;