@galacean/effects-plugin-model 2.3.0-alpha.2 → 2.3.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,10 @@
1
- import type { Scene, Composition, Attribute, GeometryProps, TextureSourceOptions, TextureSourceCubeData, TextureConfigOptions, Engine, math } from '@galacean/effects';
1
+ import type { Scene, Attribute, GeometryProps, TextureSourceOptions, TextureSourceCubeData, TextureConfigOptions, Engine, math } from '@galacean/effects';
2
2
  import { Player, spec, Transform, Material, Mesh, Texture, Geometry, Renderer, RenderPass } from '@galacean/effects';
3
3
  import type { GLTFCamera, GLTFImage, GLTFLight, GLTFTexture } from '@vvfx/resource-detection';
4
4
  import type { ModelAnimationOptions, ModelMeshOptions, ModelMaterialOptions, ModelLightOptions, ModelCameraOptions, ModelSkyboxOptions, ModelSkinOptions, ModelPrimitiveOptions, ModelTextureTransform, ModelTreeOptions, ModelAnimTrackOptions, ModelMeshComponent } from '../index';
5
- import { Matrix3, Matrix4, Vector3, Vector4 } from '../runtime/math';
6
5
  import type { FBOOptions } from './ri-helper';
7
- import type { PMaterialBase } from '../runtime/material';
8
- import type { PImageBufferData } from '../runtime/skybox';
9
- import type { CompositionCache } from '../runtime/cache';
6
+ import type { PMaterialBase, PImageBufferData } from '../runtime';
7
+ import { Matrix3, Matrix4, Vector3, Vector4 } from '../runtime';
10
8
  type Box3 = math.Box3;
11
9
  type VertexArray = Float32Array | Int32Array | Int16Array | Int8Array | Uint32Array | Uint16Array | Uint8Array;
12
10
  /**
@@ -268,14 +266,6 @@ export declare class PluginHelper {
268
266
  * @returns
269
267
  */
270
268
  static preprocessTextureOptions(dataMap: Record<string, TextureSourceOptions>, textureInfo: spec.MaterialTextureProperty | spec.DataPath, isBaseColor: boolean, tiny3dMode: boolean): void;
271
- /**
272
- * 设置 3D 元素参数,在播放器创建 3D 元素前
273
- * @param scene - 场景
274
- * @param cache - 缓存
275
- * @param composition - 合成
276
- * @returns
277
- */
278
- static setupItem3DOptions(scene: Scene, cache: CompositionCache, composition: Composition): void;
279
269
  /**
280
270
  * 创建几何体,根据几何参数描述 JSON 和数据数组
281
271
  * @param engine - 引擎