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