UNPKG

@three3d/tools

Version:

@three3d/tools 提供了 ThreeJS 常用的工具库

21 lines (11 loc) 481 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [SampleOptions](./tools.sampleoptions.md) &gt; [sampleNum](./tools.sampleoptions.samplenum.md) ## SampleOptions.sampleNum property 采样个数 **Signature:** ```typescript sampleNum?: number; ``` ## Remarks 生成多少个采样点; `sampleNum` 和 `sampleLength` 只需要其一;优先使用 `sampleLength`