gradio/js/model3D
2024-05-29 22:59:29 +01:00
..
shared Model3D right-handed coordinate system (#8376) 2024-05-29 22:59:29 +01:00
CHANGELOG.md chore: update versions (#8335) 2024-05-21 21:01:35 +00:00
Example.svelte
Index.svelte Client node fix (#8252) 2024-05-09 12:06:28 +01:00
package.json chore: update versions (#8335) 2024-05-21 21:01:35 +00:00
README.md

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;