Version: 2017.2

SurfaceData.trianglesPerCubicMeter

Cambiar al Manual
public float trianglesPerCubicMeter ;

Descripción

This value controls the basic resolution of baked mesh data and is returned with the SurfaceDataReadyDelegate. The device will deliver up to this number of triangles per cubic meter.

Computation time for RequestMeshAsync calls and memory overhead for generated data scale with the requested triangle density. Values greater than 1000 will map very closely to the real world but will be very heavy with large bake time latencies. Values less than 100 will be very light and relatively quick to bake but will smooth over many important features in the real world. Values greater than 500 are a good blend of overhead and fidelity but use whatever values make sense for your application.

Note that the system will do its best to deliver mesh data at the requested resolution but may round the value down to reduce cost.