Type Alias ParseWorkOptions
ParseWorkOptions: {
baseURL?: string;
jsonp?: boolean;
shortPath?: boolean;
transform?: THREE.Matrix4 | number[];
traverseResource?: ((resource: {
absolute: string;
origin: string;
relative: string;
type: "panorama" | "texture" | "model";
}) => void);
workCode?: string | ((input: any) => string);
}
Type declaration
Optional
baseURL?: string
Optional
jsonp?: boolean
Optional
shortPath?: boolean
Optional
transform?: THREE.Matrix4 | number[]
Optional
traverseResource?: ((resource: {
absolute: string;
origin: string;
relative: string;
type: "panorama" | "texture" | "model";
}) => void)
- (resource): void
Parameters
- resource: {
absolute: string;
origin: string;
relative: string;
type: "panorama" | "texture" | "model";
}absolute: string
origin: string
relative: string
type: "panorama" | "texture" | "model"
Returns void
Optional
workCode?: string | ((input: any) => string)
重写资源前缀