@cearth/tools
Version:
CEarth 的 工具库
31 lines (17 loc) • 686 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@cearth/tools](./tools.md) > [resetTransformIn](./tools.resettransformin.md)
## resetTransformIn() function
重设变换信息
<b>Signature:</b>
```typescript
export declare function resetTransformIn(target: PrimitiveObject, matrix: Matrix4): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| target | [PrimitiveObject](./tools.primitiveobject.md) | |
| matrix | Matrix4 | |
<b>Returns:</b>
boolean
## Remarks
把目标自身上支持的变换操作都设置为 matrix 所表达的变换信息