Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.VoxelDistanceField Class Reference

Public Member Functions

 VoxelDistanceField (MeshVoxelizer voxelizer)
 
float SampleUnfiltered (int x, int y, int z)
 
Vector4 SampleFiltered (float x, float y, float z)
 
IEnumerator JumpFlood ()
 

Public Attributes

Vector3Int[,,] distanceField
 

Detailed Description

Generates a sparse distance field from a voxel representation of a mesh.


The documentation for this class was generated from the following file: