@cearth/tools
Version:
CEarth 的 工具库
53 lines (25 loc) • 784 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@cearth/tools](./tools.md) > [transformInfoToMatrix](./tools.transforminfotomatrix.md)
## transformInfoToMatrix() function
变换信息的矩阵
**Signature:**
```typescript
export declare function transformInfoToMatrix(transform: TransformInfo<RotationInfo | Cartesian3>): Matrix4;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
transform
</td><td>
[TransformInfo](./tools.transforminfo.md)<!-- --><[RotationInfo](./tools.rotationinfo.md) \| Cartesian3>
</td><td>
</td></tr>
</tbody></table>
**Returns:**
Matrix4