UNPKG

@cearth/tools

Version:
31 lines (17 loc) 686 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@cearth/tools](./tools.md) &gt; [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 所表达的变换信息