unsafe internal ParticleSystemNativeArray3 CreateNativeArray3(ref NativeParticleData.Array3 ptrs, int count) { return(new ParticleSystemNativeArray3 { x = CreateNativeArray <float>(ptrs.x, count), y = CreateNativeArray <float>(ptrs.y, count), z = CreateNativeArray <float>(ptrs.z, count) }); }
internal unsafe ParticleSystemNativeArray3 CreateNativeArray3(ref NativeParticleData.Array3 ptrs, int count) { return(new ParticleSystemNativeArray3 { x = this.CreateNativeArray <float>((void *)ptrs.x, count), y = this.CreateNativeArray <float>((void *)ptrs.y, count), z = this.CreateNativeArray <float>((void *)ptrs.z, count) }); }