Version: 2022.3
언어: 한국어
public NativeArray<float> inverseStartLifetimes ;

설명

The lifetime of each particle, stored as 1.0f / lifetime.

There are more cases in the native code where we wish to divide by lifetime, rather than multiply by it. Therefore, storing the reciprocal allows us to perform efficent multiplies, rather than slow divides, in the majority of use-cases.