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

Public Member Functions

ObiHeightFieldHandle GetOrCreateHeightField (TerrainData source)
 
void DestroyHeightField (ObiHeightFieldHandle handle)
 
void Dispose ()
 

Public Attributes

Dictionary< TerrainData,
ObiHeightFieldHandle
handles
 
ObiNativeHeightFieldHeaderList headers
 
ObiNativeFloatList samples
 

Member Data Documentation

Dictionary<TerrainData, ObiHeightFieldHandle> Obi.ObiHeightFieldContainer.handles

dictionary indexed by asset, so that we don't generate data for the same distance field multiple times.

ObiNativeHeightFieldHeaderList Obi.ObiHeightFieldContainer.headers

One header per distance field.


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