Buckets:
ktongue/docker_container / simsite /frontend /node_modules /three-stdlib /math /MeshSurfaceSampler.d.ts
| import { BufferGeometry, Color, Mesh, Vector3 } from 'three' | |
| export class MeshSurfaceSampler { | |
| distribution: Float32Array | null | |
| geometry: BufferGeometry | |
| positionAttribute: Float32Array | |
| weightAttribute: string | null | |
| randomFunction: () => number | |
| setRandomGenerator(randomFunction: () => number): this | |
| constructor(mesh: Mesh) | |
| binarySearch(x: number): number | |
| build(): this | |
| sample(targetPosition: Vector3, targetNormal?: Vector3, targetColor?: Color): this | |
| sampleFace(faceIndex: number, targetPosition: Vector3, targetNormal?: Vector3, targetColor?: Color): this | |
| sampleFaceIndex(): number | |
| setWeightAttribute(name: string | null): this | |
| } | |
Xet Storage Details
- Size:
- 662 Bytes
- Xet hash:
- ab1bf2b3a3ce92b896b61f20467f915ba2c2c080df5fd6cf54ec71ced190aee9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.