UNPKG

@cearth/tools

Version:
65 lines (36 loc) 1.36 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@cearth/tools](./tools.md) &gt; [flatTransformInfoOptions](./tools.flattransforminfooptions.md) ## flatTransformInfoOptions() function 扁平化选项 **Signature:** ```typescript export declare function flatTransformInfoOptions(options?: TransformInfoOptions | null): { worldTranslation: boolean | undefined; worldRotation: boolean | undefined; worldScale: boolean | undefined; referFrame?: Matrix4 | null | undefined; world?: boolean | { translation?: boolean | undefined; rotation?: boolean | undefined; scale?: boolean | undefined; } | undefined; }; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> options </td><td> [TransformInfoOptions](./tools.transforminfooptions.md) \| null </td><td> _(Optional)_ </td></tr> </tbody></table> **Returns:** { worldTranslation: boolean \| undefined; worldRotation: boolean \| undefined; worldScale: boolean \| undefined; referFrame?: Matrix4 \| null \| undefined; world?: boolean \| { translation?: boolean \| undefined; rotation?: boolean \| undefined; scale?: boolean \| undefined; } \| undefined; }