UNPKG

@cearth/tools

Version:
84 lines (39 loc) 900 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@cearth/tools](./tools.md) &gt; [scaleModelGraphics](./tools.scalemodelgraphics.md) ## scaleModelGraphics() function 缩放 ModelGraphics **Signature:** ```typescript export declare function scaleModelGraphics(graphics: ModelGraphics, localScale: Cartesian3, reset?: boolean | null): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> graphics </td><td> ModelGraphics </td><td> </td></tr> <tr><td> localScale </td><td> Cartesian3 </td><td> 局部坐标系下的缩放 </td></tr> <tr><td> reset </td><td> boolean \| null </td><td> _(Optional)_ </td></tr> </tbody></table> **Returns:** void