lythreeframe 1.3.7 → 1.3.8
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.
|
@@ -37,6 +37,11 @@ export declare class CustomMeshComponent extends SceneComponent {
|
|
|
37
37
|
protected _materialPtr: TAssetPointer<Material> | null;
|
|
38
38
|
protected _meshData: CustomMeshData;
|
|
39
39
|
constructor(app: ThreeJsApp, meshData: CustomMeshData, material: Material, uuid?: string);
|
|
40
|
+
/**
|
|
41
|
+
* 自动计算UV坐标
|
|
42
|
+
* 基于包围盒的平面投影,选择最大展开面进行投影
|
|
43
|
+
*/
|
|
44
|
+
private computeUVs;
|
|
40
45
|
/**
|
|
41
46
|
* 计算2D多边形的有向面积(用于判断顶点顺序)
|
|
42
47
|
* 正值表示逆时针,负值表示顺时针
|