VoxelSample
此内容尚不支持你的语言。
Defined in: sdk/src/voxel/field.ts:21
What a place in the volume is.
Properties
Section titled “Properties”distance
Section titled “distance”distance:
number
Defined in: sdk/src/voxel/field.ts:23
How far to the surface, in world units: below zero is solid. Near the surface it should be about true; far from it, only the sign counts.
material
Section titled “material”material:
number
Defined in: sdk/src/voxel/field.ts:25
Which of the volume’s materials it is, 0 to 3.